Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import librosa
|
|
5 |
import numpy as np
|
6 |
|
7 |
def estimate_genre(filepath):
|
|
|
|
|
8 |
try:
|
9 |
y, sr = librosa.load(filepath, duration=30)
|
10 |
except Exception as e:
|
|
|
5 |
import numpy as np
|
6 |
|
7 |
def estimate_genre(filepath):
|
8 |
+
print(f"[DEBUG] Filepath received: {filepath}")
|
9 |
+
|
10 |
try:
|
11 |
y, sr = librosa.load(filepath, duration=30)
|
12 |
except Exception as e:
|