Spaces:
Runtime error
Runtime error
Commit
·
9437985
1
Parent(s):
63def03
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ title = "English to Spanish Translation (forked from osanseviero/test_gradio)"
|
|
| 11 |
|
| 12 |
iface = gr.Interface(
|
| 13 |
fn=predict,
|
| 14 |
-
inputs=[gr.
|
| 15 |
outputs='text',
|
| 16 |
title=title,
|
| 17 |
examples=[["Hello! My name is Abubakar"], ["How are you?"]]
|
|
|
|
| 11 |
|
| 12 |
iface = gr.Interface(
|
| 13 |
fn=predict,
|
| 14 |
+
inputs=[gr.Textbox(label="text", lines=3)],
|
| 15 |
outputs='text',
|
| 16 |
title=title,
|
| 17 |
examples=[["Hello! My name is Abubakar"], ["How are you?"]]
|