anzorq commited on
Commit
a15bcba
1 Parent(s): ec6c414
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -22,5 +22,6 @@ def translate(text):
22
 
23
  return translations
24
 
25
- iface = gr.Interface(fn=translate, inputs="text", outputs="text")
 
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()