suric commited on
Commit
9e2a478
·
1 Parent(s): 7bc19e2

fix the bug

Browse files
Files changed (1) hide show
  1. gradio_components/prediction.py +1 -1
gradio_components/prediction.py CHANGED
@@ -139,7 +139,7 @@ def predict(
139
  if INTERRUPTING:
140
  raise gr.Error("Interrupted.")
141
 
142
- model.set_custom_progress_callback(_progress
143
 
144
  wavs = _do_predictions(
145
  model_path,
 
139
  if INTERRUPTING:
140
  raise gr.Error("Interrupted.")
141
 
142
+ model.set_custom_progress_callback(_progress)
143
 
144
  wavs = _do_predictions(
145
  model_path,