JJS341 commited on
Commit
5bcbec9
·
verified ·
1 Parent(s): 44b2ad3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,9 +58,9 @@ def coref_chat(user_input):
58
  # --- 英文翻譯中文 ---
59
  try:
60
  translation_back = GoogleTranslator(source='en', target='zh-TW').translate(working_text)
61
- result += f"📖 英翻中: {translation_back}\n"
62
  except:
63
- result += f"📖 英翻中: (翻譯暫時無法讀取)\n"
64
 
65
  result += "---------------------------------\n"
66
 
 
58
  # --- 英文翻譯中文 ---
59
  try:
60
  translation_back = GoogleTranslator(source='en', target='zh-TW').translate(working_text)
61
+ result += f"📖 中文句子: {translation_back}\n"
62
  except:
63
+ result += f"📖 中文句子: (翻譯暫時無法讀取)\n"
64
 
65
  result += "---------------------------------\n"
66