Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ try:
|
|
| 17 |
# Load sentiment models
|
| 18 |
english_model = pipeline(
|
| 19 |
"sentiment-analysis",
|
| 20 |
-
model="tahamueed23/
|
| 21 |
)
|
| 22 |
|
| 23 |
# Same model for both Urdu and Roman Urdu as per your requirements
|
|
@@ -475,7 +475,7 @@ with gr.Blocks(title="Sentiment Analysis - Student Feedback") as demo:
|
|
| 475 |
with gr.Accordion("ℹ️ Model Information", open=False):
|
| 476 |
gr.Markdown("""
|
| 477 |
**Models Used:**
|
| 478 |
-
- **English:** tahamueed23/
|
| 479 |
- **Roman Urdu:** tahamueed23/roman-urdu-sentiment-analysis
|
| 480 |
- **Urdu:** tahamueed23/fine_tuned_cardiffnlp_urdu_and_roman-urdu
|
| 481 |
|
|
|
|
| 17 |
# Load sentiment models
|
| 18 |
english_model = pipeline(
|
| 19 |
"sentiment-analysis",
|
| 20 |
+
model="tahamueed23/english-sentiment-roberta-large"
|
| 21 |
)
|
| 22 |
|
| 23 |
# Same model for both Urdu and Roman Urdu as per your requirements
|
|
|
|
| 475 |
with gr.Accordion("ℹ️ Model Information", open=False):
|
| 476 |
gr.Markdown("""
|
| 477 |
**Models Used:**
|
| 478 |
+
- **English:** tahamueed23/english-sentiment-roberta-large
|
| 479 |
- **Roman Urdu:** tahamueed23/roman-urdu-sentiment-analysis
|
| 480 |
- **Urdu:** tahamueed23/fine_tuned_cardiffnlp_urdu_and_roman-urdu
|
| 481 |
|