Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ def predict_sentiment(sentence):
|
|
| 12 |
else:
|
| 13 |
return 'Negative'
|
| 14 |
|
| 15 |
-
gr.Interface(predict_sentiment, inputs=gr.inputs.Textbox(lines=1, label='Enter your Review')).launch()
|
| 16 |
-
|
| 17 |
|
| 18 |
|
|
|
|
| 12 |
else:
|
| 13 |
return 'Negative'
|
| 14 |
|
| 15 |
+
gr.Interface(predict_sentiment, inputs=gr.inputs.Textbox(lines=1, label='Enter your Review'), outputs=gr.outputs.Textbox(label='Sentiment Analysis')).launch()
|
|
|
|
| 16 |
|
| 17 |
|