Spaces:
Build error
Build error
Commit ·
8b07de7
1
Parent(s): 117ddf0
Handling Error
Browse files
app.py
CHANGED
|
@@ -35,4 +35,4 @@ def predict(model, text):
|
|
| 35 |
|
| 36 |
models = gr.Radio(['Random Forest', 'Logistic Regression','Naive Bayes','Decision Tree','KNN'], label="Choose model")
|
| 37 |
demo = gr.Interface(fn=predict, inputs=[models,"text"], outputs="image", title="Sentiment Analysis")
|
| 38 |
-
demo.launch(
|
|
|
|
| 35 |
|
| 36 |
models = gr.Radio(['Random Forest', 'Logistic Regression','Naive Bayes','Decision Tree','KNN'], label="Choose model")
|
| 37 |
demo = gr.Interface(fn=predict, inputs=[models,"text"], outputs="image", title="Sentiment Analysis")
|
| 38 |
+
demo.launch()
|