Marcos12886 Robertomarting commited on
Commit
bd663c2
·
verified ·
1 Parent(s): 028e948

Update app.py (#3)

Browse files

- Update app.py (a1d59416fe53b8b15f783ff314e503649a2ef81d)


Co-authored-by: Roberto Martín <Robertomarting@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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, probabilidad = predict_stream(audio_path_stream)
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 ""