Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ def inference(text,model):
|
|
52 |
|
53 |
gr.Interface(
|
54 |
inference,
|
55 |
-
[gr.inputs.
|
56 |
],
|
57 |
-
gr.outputs.
|
58 |
examples=examples,
|
59 |
article=article,
|
60 |
title=title,
|
|
|
52 |
|
53 |
gr.Interface(
|
54 |
inference,
|
55 |
+
[gr.inputs.Audio(label="Input",type="filepath"),gr.inputs.Dropdown(choices=["xm_transformer_600m-es_en-multi_domain","xm_transformer_600m-ru_en-multi_domain","xm_transformer_600m-en_ru-multi_domain","xm_transformer_600m-en_es-multi_domain","xm_transformer_600m-en_zh-multi_domain","xm_transformer_600m-fr_en-multi_domain","xm_transformer_600m-en_ar-multi_domain","facebook/xm_transformer_600m-en_tr-multi_domain"], type="value", default="xm_transformer_600m-es_en-multi_domain", label="model")
|
56 |
],
|
57 |
+
gr.outputs.Audio(label="Output"),
|
58 |
examples=examples,
|
59 |
article=article,
|
60 |
title=title,
|