Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def load_models():
|
|
| 47 |
try:
|
| 48 |
EMOTION_PIPELINE = pipeline(
|
| 49 |
"zero-shot-classification",
|
| 50 |
-
model="
|
| 51 |
)
|
| 52 |
print("β
Zero-Shot emotion model loaded successfully")
|
| 53 |
except Exception as e:
|
|
@@ -639,7 +639,7 @@ demo = gr.Interface(
|
|
| 639 |
|
| 640 |
### β¨ Features:
|
| 641 |
- **ποΈ Indic Conformer 600M** - State-of-the-art multilingual ASR
|
| 642 |
-
- **π Zero-Shot Emotion Detection** - 15+ emotions using
|
| 643 |
- **π Sentiment Analysis** - Positive/Neutral/Negative classification
|
| 644 |
- **β‘ Parallel Processing** - Async execution for faster results
|
| 645 |
- **π΅ Voice Analysis** - Analyzes tone, pitch, energy, and spectral features
|
|
|
|
| 47 |
try:
|
| 48 |
EMOTION_PIPELINE = pipeline(
|
| 49 |
"zero-shot-classification",
|
| 50 |
+
model="joeddav/xlm-roberta-large-xnli"
|
| 51 |
)
|
| 52 |
print("β
Zero-Shot emotion model loaded successfully")
|
| 53 |
except Exception as e:
|
|
|
|
| 639 |
|
| 640 |
### β¨ Features:
|
| 641 |
- **ποΈ Indic Conformer 600M** - State-of-the-art multilingual ASR
|
| 642 |
+
- **π Zero-Shot Emotion Detection** - 15+ emotions using joeddav/xlm-roberta-large-xnli
|
| 643 |
- **π Sentiment Analysis** - Positive/Neutral/Negative classification
|
| 644 |
- **β‘ Parallel Processing** - Async execution for faster results
|
| 645 |
- **π΅ Voice Analysis** - Analyzes tone, pitch, energy, and spectral features
|