Update app.py
Browse files
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 |
|