Spaces:
Sleeping
Sleeping
main.py
CHANGED
@@ -89,7 +89,7 @@ async def process_audio_data(audio_data):
|
|
89 |
|
90 |
if audio.ndim > 1: # If audio has more than one channel, average them
|
91 |
audio = np.mean(audio, axis=1)
|
92 |
-
|
93 |
features = extract_features(audio)
|
94 |
features = features.reshape(1, -1)
|
95 |
prediction = model.predict(features)
|
|
|
89 |
|
90 |
if audio.ndim > 1: # If audio has more than one channel, average them
|
91 |
audio = np.mean(audio, axis=1)
|
92 |
+
logger.info("Here!!!")
|
93 |
features = extract_features(audio)
|
94 |
features = features.reshape(1, -1)
|
95 |
prediction = model.predict(features)
|