Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,5 +21,5 @@ def inference(audio, model):
|
|
21 |
|
22 |
model = gr.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en", "xm_transformer_s2ut_en-hk", "xm_transformer_s2ut_hk-en"])
|
23 |
|
24 |
-
demo = gr.Interface(fn=inference, inputs=["
|
25 |
demo.launch()
|
|
|
21 |
|
22 |
model = gr.Dropdown(choices=["xm_transformer_unity_en-hk", "xm_transformer_unity_hk-en", "xm_transformer_s2ut_en-hk", "xm_transformer_s2ut_hk-en"])
|
23 |
|
24 |
+
demo = gr.Interface(fn=inference, inputs=["microphone", model], outputs=["audio"])
|
25 |
demo.launch()
|