ksenia-kh commited on
Commit
6de84bc
·
1 Parent(s): e456a98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(text):
17
 
18
  gr.Interface(
19
  predict,
20
- inputs=gr.inputs.Textbox(label="Translation"),
21
- outputs=gr.outputs.Textbox(),
22
  title="Translation",
23
  ).launch()
 
17
 
18
  gr.Interface(
19
  predict,
20
+ inputs="text"),
21
+ outputs="text",
22
  title="Translation",
23
  ).launch()