gmdnn commited on
Commit
8c9154a
·
1 Parent(s): 3fd1791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ for src in ['cs', 'de', 'en', 'es', 'et', 'fi', 'fr', 'hr', 'hu', 'it', 'nl', 'p
24
  model_choices.append(f"textless_sm_{src}_{tgt}")
25
  gr.Interface(
26
  inference,
27
- [gr.inputs.Audio(source="microphone", type="filepath", label="Input"),gr.inputs.Dropdown(choices=["xm_transformer_sm_all-en"], default="xm_transformer_sm_all-en",type="value", label="Model")
28
  ],
29
  gr.outputs.Audio(label="Output"),
30
  article=article,
 
24
  model_choices.append(f"textless_sm_{src}_{tgt}")
25
  gr.Interface(
26
  inference,
27
+ [gr.inputs.Audio(source="microphone", type="filepath", label="Input"),gr.inputs.Dropdown(choices=model_choices, default="xm_transformer_sm_all-en",type="value", label="Model")
28
  ],
29
  gr.outputs.Audio(label="Output"),
30
  article=article,