JustNikunj commited on
Commit
041a393
Β·
verified Β·
1 Parent(s): 68a0cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,7 +47,7 @@ def load_models():
47
  try:
48
  EMOTION_PIPELINE = pipeline(
49
  "zero-shot-classification",
50
- model="vicgalle/xlm-roberta-large-xnli-anli"
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 XLM-RoBERTa-XNLI-ANLI
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