File size: 349 Bytes
3461076
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CONFIG = {
    "model_path": "best_clstm.pt",
    "sample_rate": 16000,
    "duration": 3.0,
    "n_mels": 40,
    "n_fft": 512,
    "hop_length": 256
}

EMOTION_CONFIG = {
    "angry": "😠",
    "calm": "😌",
    "disgust": "🀒",
    "fearful": "😨",
    "happy": "😊",
    "neutral": "😐",
    "sad": "😒",
    "surprised": "😲"
}