Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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,
|