hrnrxb commited on
Commit
588b770
Β·
verified Β·
1 Parent(s): 5b201c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def predict(text):
181
  label = "🟒 Positive" if pred == 1 else "πŸ”΄ Negative"
182
  return f"{label} ({conf*100:.1f}%)"
183
 
184
- gr.Interface(fn=predict, inputs=gr.Textbox(label="Enter a review"), outputs="text", description="⭐️ [GitHub Repo](https://github.com/hrnrxb/Advanced-Sentiment-Classifier) | [My Website (https://hrnrxb.github.io)](https://hrnrxb.github.io)").launch()
185
 
186
 
187
 
 
181
  label = "🟒 Positive" if pred == 1 else "πŸ”΄ Negative"
182
  return f"{label} ({conf*100:.1f}%)"
183
 
184
+ gr.Interface(fn=predict, inputs=gr.Textbox(label="Enter a review"), outputs="text", description="⭐️ [GitHub Repo](https://github.com/hrnrxb/Advanced-Sentiment-Classifier) | 🌐 [My Website (https://hrnrxb.github.io)](https://hrnrxb.github.io)").launch()
185
 
186
 
187