Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def translate_text(file, text_input):
|
|
| 42 |
with open(output_file_path, 'w', encoding='utf-8') as f:
|
| 43 |
f.write(file_translation)
|
| 44 |
|
| 45 |
-
return
|
| 46 |
|
| 47 |
iface = gr.Interface(
|
| 48 |
fn=translate_text,
|
|
|
|
| 42 |
with open(output_file_path, 'w', encoding='utf-8') as f:
|
| 43 |
f.write(file_translation)
|
| 44 |
|
| 45 |
+
return file_translation, output_file_path
|
| 46 |
|
| 47 |
iface = gr.Interface(
|
| 48 |
fn=translate_text,
|