Spaces:
Sleeping
Sleeping
Robertomarting
commited on
Commit
•
a1d5941
1
Parent(s):
028e948
Update app.py
Browse files
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 ""
|