suric commited on
Commit
3e1d74a
·
1 Parent(s): 97a428f

fix bugs on prediction

Browse files
Files changed (1) hide show
  1. gradio_components/prediction.py +1 -0
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,