Spaces:
Sleeping
Sleeping
fix the bug
Browse files
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,
|