Spaces:
Runtime error
Runtime error
Commit
·
d3aad2f
1
Parent(s):
93f64a7
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def predict(text):
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=predict,
|
| 12 |
-
inputs=[gr.
|
| 13 |
outputs='text',
|
| 14 |
examples=[["Hello! My name is Abubakar"], ["How are you?"]]
|
| 15 |
)
|
|
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=predict,
|
| 12 |
+
inputs=[gr.Textbox(label="text", lines=3)],
|
| 13 |
outputs='text',
|
| 14 |
examples=[["Hello! My name is Abubakar"], ["How are you?"]]
|
| 15 |
)
|