Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
~ app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,6 @@ def translate(text):
|
|
22 |
|
23 |
return translations
|
24 |
|
25 |
-
|
|
|
26 |
iface.launch()
|
|
|
22 |
|
23 |
return translations
|
24 |
|
25 |
+
output = gr.outputs.Textbox()
|
26 |
+
iface = gr.Interface(fn=translate, inputs="text", outputs=output)
|
27 |
iface.launch()
|