Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,8 @@ def predict(text):
|
|
103 |
|
104 |
demo = gr.Interface(
|
105 |
fn=predict,
|
106 |
-
inputs=["
|
107 |
-
outputs=["
|
108 |
)
|
109 |
-
|
|
|
|
103 |
|
104 |
demo = gr.Interface(
|
105 |
fn=predict,
|
106 |
+
inputs=[gr.Textbox(label="Text", lines=3],
|
107 |
+
outputs=[gr.Textbox(label="Predict", lines=1)],
|
108 |
)
|
109 |
+
if __name__ == "__main__":
|
110 |
+
demo.launch()
|