veni18 commited on
Commit
b86c107
·
1 Parent(s): 251efbc
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,9 +9,9 @@ def greet(sentences1):
9
  for text in sentences1:
10
  text_translated.append(translation(text))
11
 
12
- combined_text = ' '.join([item['translation_text'] for sublist in text_translated for item in sublist])
13
 
14
- return combined_text
15
 
16
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
17
  demo.launch()
 
9
  for text in sentences1:
10
  text_translated.append(translation(text))
11
 
12
+ #combined_text = ' '.join([item['translation_text'] for sublist in text_translated for item in sublist])
13
 
14
+ return text_translated
15
 
16
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
17
  demo.launch()