lpw commited on
Commit
dbdfc0e
1 Parent(s): fe8cfc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -29,6 +29,8 @@ print(MODEL_LIST)
29
  io_dict = {model: load_model_ensemble_and_task_from_hf_hub(f"facebook/{model}")[0] for model in MODEL_LIST}
30
 
31
  def inference(audio, model):
 
 
32
  out_audio = io_dict[model](audio)
33
  return out_audio
34
  gr.Interface(
 
29
  io_dict = {model: load_model_ensemble_and_task_from_hf_hub(f"facebook/{model}")[0] for model in MODEL_LIST}
30
 
31
  def inference(audio, model):
32
+ print(io_dict)
33
+ print(io_dict[model])
34
  out_audio = io_dict[model](audio)
35
  return out_audio
36
  gr.Interface(