ytyeung commited on
Commit
71fab9c
1 Parent(s): 112a9fd

Revert translation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -246,8 +246,8 @@ def clear_text():
246
 
247
  def translate_text(text_input,text_output):
248
 
249
- res= translate(f"{text_input}\n\n{text_output}")
250
- (text_input,text_output) = res.split("\n\n")
251
  return text_input,text_output
252
 
253
 
 
246
 
247
  def translate_text(text_input,text_output):
248
 
249
+ text_input = translate(f"{text_input}")
250
+ text_output = translate(f"{text_output}")
251
  return text_input,text_output
252
 
253