Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def inference(audio, model):
|
|
33 |
|
34 |
gr.Interface(
|
35 |
inference,
|
36 |
-
[gr.inputs.Audio(source="microphone", type="filepath", label="Input"),gr.inputs.Dropdown(choices=["xm_transformer_unity_en-hk", "
|
37 |
],
|
38 |
gr.outputs.Audio(label="Output"),
|
39 |
article=article,
|
|
|
33 |
|
34 |
gr.Interface(
|
35 |
inference,
|
36 |
+
[gr.inputs.Audio(source="microphone", type="filepath", label="Input"),gr.inputs.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en", "xm_transformer_s2ut_en-hk", "xm_transformer_s2ut_hk-en"], default="xm_transformer_unity_en-hk",type="value", label="Model")
|
37 |
],
|
38 |
gr.outputs.Audio(label="Output"),
|
39 |
article=article,
|