Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,10 @@ def inference(audio, model):
|
|
29 |
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
-
[gr.inputs.Audio(source="
|
33 |
],
|
34 |
gr.outputs.Audio(label="Output"),
|
35 |
article=article,
|
36 |
title=title,
|
|
|
37 |
description=description).queue().launch()
|
|
|
29 |
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
+
[gr.inputs.Audio(source="microphone", type="filepath", label="Input"),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")
|
33 |
],
|
34 |
gr.outputs.Audio(label="Output"),
|
35 |
article=article,
|
36 |
title=title,
|
37 |
+
examples=examples,
|
38 |
description=description).queue().launch()
|