Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -132,8 +132,8 @@ with block:
|
|
132 |
)
|
133 |
|
134 |
btn = gr.Button("Submit")
|
135 |
-
|
136 |
-
model = gr.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en"], value="xm_transformer_unity_en-hk",type="value", label="Model")
|
137 |
out = gr.Audio(label="Output")
|
138 |
|
139 |
btn.click(inference, inputs=[audio, model], outputs=out)
|
|
|
132 |
)
|
133 |
|
134 |
btn = gr.Button("Submit")
|
135 |
+
model = gr.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en", "xm_transformer_s2ut_en-hk", "xm_transformer_s2ut_hk-en"], value="xm_transformer_unity_en-hk",type="value", label="Model")
|
136 |
+
# model = gr.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en"], value="xm_transformer_unity_en-hk",type="value", label="Model")
|
137 |
out = gr.Audio(label="Output")
|
138 |
|
139 |
btn.click(inference, inputs=[audio, model], outputs=out)
|