Spaces:
Sleeping
Sleeping
fix bugs on prediction
Browse files
gradio_components/prediction.py
CHANGED
@@ -92,6 +92,7 @@ def predict(model_path, text, melody, duration, topk, topp, temperature, target_
|
|
92 |
model.set_custom_progress_callback(_progress)
|
93 |
|
94 |
wavs = _do_predictions(
|
|
|
95 |
[text],
|
96 |
[melody],
|
97 |
duration,
|
|
|
92 |
model.set_custom_progress_callback(_progress)
|
93 |
|
94 |
wavs = _do_predictions(
|
95 |
+
model,
|
96 |
[text],
|
97 |
[melody],
|
98 |
duration,
|