JUNGU commited on
Commit
fc78741
ยท
1 Parent(s): 9114313

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ if st.button("ํ‰๊ฐ€ ์ƒ์„ฑ"):
67
  sentences = []
68
  for line in result_lines:
69
  if line.strip().startswith('("'):
70
- sentence = line.split('",')[0][2:].strip()
 
71
  sentences.append(sentence)
72
 
73
  # ๋ฌธ์žฅ์„ ๋ผ๋””์˜ค ๋ฒ„ํŠผ์œผ๋กœ ํ‘œ์‹œ
 
67
  sentences = []
68
  for line in result_lines:
69
  if line.strip().startswith('("'):
70
+ # ("๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋ถ€๋ถ„์„ ์ œ๊ฑฐํ•˜๊ณ  ๋ฌธ์žฅ๋งŒ ์ถ”์ถœ
71
+ sentence = line.split('",')[0].lstrip('("').strip()
72
  sentences.append(sentence)
73
 
74
  # ๋ฌธ์žฅ์„ ๋ผ๋””์˜ค ๋ฒ„ํŠผ์œผ๋กœ ํ‘œ์‹œ