ginipick commited on
Commit
7886a98
ยท
verified ยท
1 Parent(s): 0d4954e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- # AI๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ…์ŠคํŠธ๋ฅผ ๋” ๊ตฌ์กฐํ™”๋œ ํ˜•์‹์œผ๋กœ ๋ณ€ํ™˜
 
1055
  async def enhance_text_with_ai(text_content: str, title: str) -> str:
1056
- # OpenAI ํ–ฅ์ƒ ๊ธฐ๋Šฅ ์ œ๊ฑฐ - ์›๋ณธ ํ…์ŠคํŠธ ๊ทธ๋Œ€๋กœ ๋ฐ˜ํ™˜
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
  # ์ปจํ…์ŠคํŠธ ํฌ๊ธฐ๋ฅผ ๊ณ ๋ คํ•˜์—ฌ ํ…์ŠคํŠธ๊ฐ€ ๋„ˆ๋ฌด ๊ธธ๋ฉด ์•ž๋ถ€๋ถ„๋งŒ ์‚ฌ์šฉ