Spaces:
Sleeping
Sleeping
Update app.py (#3)
Browse files- Update app.py (a1d59416fe53b8b15f783ff314e503649a2ef81d)
Co-authored-by: Roberto Martín <Robertomarting@users.noreply.huggingface.co>
app.py
CHANGED
@@ -73,7 +73,7 @@ def mostrar_decibelios(audio_path_stream, visual_threshold):
|
|
73 |
def predict_stream_decib(audio_path_stream, visual_threshold):
|
74 |
db_level = decibelios(audio_path_stream)
|
75 |
if db_level > visual_threshold:
|
76 |
-
llorando
|
77 |
return f"{llorando}"
|
78 |
else:
|
79 |
return ""
|
|
|
73 |
def predict_stream_decib(audio_path_stream, visual_threshold):
|
74 |
db_level = decibelios(audio_path_stream)
|
75 |
if db_level > visual_threshold:
|
76 |
+
llorando = predict_stream(audio_path_stream)
|
77 |
return f"{llorando}"
|
78 |
else:
|
79 |
return ""
|