sdafd commited on
Commit
5f6435d
·
verified ·
1 Parent(s): 6ac1910

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -292,7 +292,8 @@ def transcribe(audio_file, model_size="base", debug=False, pause_threshold=0.0,
292
 
293
  if debug:
294
  return final_result, "\n".join(debug_log)
295
- return final_result
 
296
 
297
  # -------------------------------
298
  # Gradio Interface
 
292
 
293
  if debug:
294
  return final_result, "\n".join(debug_log)
295
+ else:
296
+ return final_result, ""
297
 
298
  # -------------------------------
299
  # Gradio Interface