Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -1051,11 +1051,11 @@ async def convert_text_to_pdf(text_content: str, title: str) -> str:
|
|
1051 |
logger.error(f"ํ
์คํธ๋ฅผ PDF๋ก ๋ณํ ์ค ์ค๋ฅ: {e}")
|
1052 |
raise e
|
1053 |
|
1054 |
-
|
|
|
1055 |
async def enhance_text_with_ai(text_content: str, title: str) -> str:
|
1056 |
-
#
|
1057 |
-
return text_content
|
1058 |
-
|
1059 |
|
1060 |
|
1061 |
# ์ปจํ
์คํธ ํฌ๊ธฐ๋ฅผ ๊ณ ๋ คํ์ฌ ํ
์คํธ๊ฐ ๋๋ฌด ๊ธธ๋ฉด ์๋ถ๋ถ๋ง ์ฌ์ฉ
|
|
|
1051 |
logger.error(f"ํ
์คํธ๋ฅผ PDF๋ก ๋ณํ ์ค ์ค๋ฅ: {e}")
|
1052 |
raise e
|
1053 |
|
1054 |
+
|
1055 |
+
# AI๋ฅผ ์ฌ์ฉํ์ฌ ํ
์คํธ๋ฅผ ๋ ๊ตฌ์กฐํ๋ ํ์์ผ๋ก ๋ณํ (OpenAI ์ ๊ฑฐ ๋ฒ์ )
|
1056 |
async def enhance_text_with_ai(text_content: str, title: str) -> str:
|
1057 |
+
# ์๋ณธ ํ
์คํธ ๊ทธ๋๋ก ๋ฐํ (AI ํฅ์ ๊ธฐ๋ฅ ๋นํ์ฑํ)
|
1058 |
+
return text_content
|
|
|
1059 |
|
1060 |
|
1061 |
# ์ปจํ
์คํธ ํฌ๊ธฐ๋ฅผ ๊ณ ๋ คํ์ฌ ํ
์คํธ๊ฐ ๋๋ฌด ๊ธธ๋ฉด ์๋ถ๋ถ๋ง ์ฌ์ฉ
|