File size: 823 Bytes
8b4cd24
 
 
feaf7eb
 
 
 
 
 
 
 
 
 
 
 
 
8b4cd24
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Audio Sentiment Analysis Configuration

# Model Selection (choose one):
# Lightweight models (4 emotions: Happy, Sad, Angry, Neutral):
#   - superb/wav2vec2-base-superb-er (recommended, fast)
#   - superb/wav2vec2-large-superb-er (better accuracy, slower)
#   - superb/hubert-large-superb-er (better accuracy, slower)
#
# Advanced models (7-8 emotions):
#   - ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition
#   - harshit345/xlsr-wav2vec-speech-emotion-recognition
#   - amiriparian/wav2vec2-base-ravdess
#
# See models_config.py for full list and details

MODEL_NAME=superb/wav2vec2-large-superb-er

# Audio Processing Settings
CHUNK_DURATION=3
SAMPLE_RATE=16000

# Supported Emotions (comma separated)
EMOTIONS=Happy,Sad,Angry,Neutral

# Flask API Settings
FLASK_HOST=0.0.0.0
FLASK_PORT=5000
FLASK_DEBUG=True