mohamedamgad2002 commited on
Commit
8b07de7
·
1 Parent(s): 117ddf0

Handling Error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(share=True)
 
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()