hrnrxb commited on
Commit
5b201c5
·
verified ·
1 Parent(s): a340307

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