Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,5 +7,5 @@ def translate_transformers(from_text):
|
|
7 |
return results[0]['translation_text']
|
8 |
interface = gr.Interface(fn=translate_transformers,
|
9 |
inputs=gr.Textbox(placeholder='Kinyarwanda Text to translate'),
|
10 |
-
outputs='text')
|
11 |
interface.launch(debug=True)
|
|
|
7 |
return results[0]['translation_text']
|
8 |
interface = gr.Interface(fn=translate_transformers,
|
9 |
inputs=gr.Textbox(placeholder='Kinyarwanda Text to translate'),
|
10 |
+
outputs='text',title="Kinyarwanda to English Translation")
|
11 |
interface.launch(debug=True)
|