lpw commited on
Commit
eb1aae8
1 Parent(s): f811068

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -24,11 +24,10 @@ def inference(text,model):
24
  gr.Interface(
25
  inference,
26
  inputs=[
27
- gr.Audio(source="microphone", type="filepath", optional=True, label="Speak here..."),
28
- gr.Audio(source="upload", type="filepath", optional=True, label="Upload your audio here..."),
 
29
  ],
30
- [gr.inputs.Dropdown(choices=["xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022"], default="xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022", type="value", label="Model")
31
- ],
32
  gr.outputs.Audio(label="Output"),
33
  article=article,
34
  title=title,
 
24
  gr.Interface(
25
  inference,
26
  inputs=[
27
+ gr.Audio(source="microphone", type="filepath", optional=True, label="Input"),
28
+ gr.Audio(source="upload", type="filepath", optional=True, label="Input"),
29
+ gr.inputs.Dropdown(choices=["xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022"], default="xm_transformer_s2ut_800m-es-en-st-asr-bt_h1_2022", type="value", label="Model"),
30
  ],
 
 
31
  gr.outputs.Audio(label="Output"),
32
  article=article,
33
  title=title,