Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,14 +146,16 @@ def process_input(text):
|
|
| 146 |
with gr.Blocks() as demo:
|
| 147 |
gr.Markdown("# Sentiment Analysis Demo")
|
| 148 |
gr.Markdown("""
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
|
|
|
|
|
|
| 157 |
|
| 158 |
with gr.Row():
|
| 159 |
with gr.Column():
|
|
|
|
| 146 |
with gr.Blocks() as demo:
|
| 147 |
gr.Markdown("# Sentiment Analysis Demo")
|
| 148 |
gr.Markdown("""
|
| 149 |
+
Enter a review and see how different models evaluate its sentiment! This app uses:
|
| 150 |
+
- SVM for classic machine learning
|
| 151 |
+
- LSTM for deep learning (using FastText)
|
| 152 |
+
- BERTić for transformer-based analysis
|
| 153 |
+
|
| 154 |
+
Rating guide:
|
| 155 |
+
5 ★ → positive sentiment
|
| 156 |
+
3 ★ → neutral sentiment
|
| 157 |
+
1 ★ → negative sentiment
|
| 158 |
+
""")
|
| 159 |
|
| 160 |
with gr.Row():
|
| 161 |
with gr.Column():
|