Spaces:
Build error
Build error
Update app.py
Browse files
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(
|