Spaces:
Runtime error
Runtime error
fix app.py gradio
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ def predict(data) :
|
|
| 15 |
|
| 16 |
demo = gr.Interface(
|
| 17 |
fn=predict,
|
| 18 |
-
|
| 19 |
-
|
| 20 |
)
|
| 21 |
|
| 22 |
demo.launch()
|
|
|
|
| 15 |
|
| 16 |
demo = gr.Interface(
|
| 17 |
fn=predict,
|
| 18 |
+
inputs='text_in',
|
| 19 |
+
outputs='text_out'
|
| 20 |
)
|
| 21 |
|
| 22 |
demo.launch()
|