audioSentiment / .env.example
temp12821's picture
working prototype of the audio processing module
feaf7eb
raw
history blame contribute delete
823 Bytes
# 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