robin0307 commited on
Commit
ecc6441
1 Parent(s): b8a12ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=["audio", model], outputs=["audio"])
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()