Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ import numpy as np
|
|
| 14 |
|
| 15 |
def classify_audio(audio_file):
|
| 16 |
model = AutoModelForAudioClassification.from_pretrained("3loi/SER-Odyssey-Baseline-WavLM-Multi-Attributes", trust_remote_code=True)
|
|
|
|
|
|
|
| 17 |
sr, raw_wav = audio_file
|
| 18 |
|
| 19 |
print(audio_file, audio_file[1].dtype)
|
|
|
|
| 14 |
|
| 15 |
def classify_audio(audio_file):
|
| 16 |
model = AutoModelForAudioClassification.from_pretrained("3loi/SER-Odyssey-Baseline-WavLM-Multi-Attributes", trust_remote_code=True)
|
| 17 |
+
mean, std = -8.278621631819787e-05, 0.08485510250851999
|
| 18 |
+
|
| 19 |
sr, raw_wav = audio_file
|
| 20 |
|
| 21 |
print(audio_file, audio_file[1].dtype)
|