Spaces:
Running
Running
Commit
·
17bde20
1
Parent(s):
94b8e27
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def get_emo(path):
|
|
125 |
wav, sr = librosa.load(path, 16000)
|
126 |
device = config.bert_gen_config.device
|
127 |
return process_func(
|
128 |
-
np.expand_dims(wav, 0).astype(np.
|
129 |
sr,
|
130 |
emotional_model,
|
131 |
emotional_processor,
|
|
|
125 |
wav, sr = librosa.load(path, 16000)
|
126 |
device = config.bert_gen_config.device
|
127 |
return process_func(
|
128 |
+
np.expand_dims(wav, 0).astype(np.float64),
|
129 |
sr,
|
130 |
emotional_model,
|
131 |
emotional_processor,
|