fix
Browse files
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
|
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()
|