Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,6 +55,6 @@ def test_model(text, vectorizer):
|
|
| 55 |
return prediction
|
| 56 |
|
| 57 |
# Create the Gradio interface
|
| 58 |
-
iface = gr.Interface(fn=test_model, inputs=
|
| 59 |
iface.launch()
|
| 60 |
|
|
|
|
| 55 |
return prediction
|
| 56 |
|
| 57 |
# Create the Gradio interface
|
| 58 |
+
iface = gr.Interface(fn=test_model, inputs="text", outputs="text", title="Text Classification")
|
| 59 |
iface.launch()
|
| 60 |
|