osanseviero commited on
Commit
aa44b66
·
1 Parent(s): a291c13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -11,10 +11,7 @@ title = "Interactive demo: Helsinki-NLP English to Spanish Translation"
11
 
12
  iface = gr.Interface(
13
  fn=predict,
14
- inputs=[gr.inputs.Textbox(label="text", lines=3)],
15
  outputs='text',
16
  title=title,
17
- examples=[["Hello! My name is Omar"], ["I like this workshop"]]
18
- )
19
-
20
- iface.launch(debug=True)
 
11
 
12
  iface = gr.Interface(
13
  fn=predict,
14
+ inputs='text',
15
  outputs='text',
16
  title=title,
17
+ examples=[["Hello! My name is Omar"]]