Spaces:
Sleeping
Sleeping
update default value
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ demo = gr.Interface(
|
|
147 |
gr.Audio(type="filepath", label="Speech Input", max_length=150, sources=["microphone", "upload"]),
|
148 |
gr.Dropdown(choices=list(lang2code), value="English", label="Language", info="Language of input speech. Select 'Unknown' (1st option) to detect it automatically."),
|
149 |
gr.Dropdown(choices=list(task2code), value="Automatic Speech Recognition", label="Task", info="Task to perform on input speech."),
|
150 |
-
gr.Slider(minimum=1, maximum=5, step=1, value=
|
151 |
gr.Checkbox(label="Long Form (Experimental)", info="Whether to perform long-form decoding (experimental feature)."),
|
152 |
gr.Text(label="Text Prompt (Optional)", info="Generation will be conditioned on this prompt if provided"),
|
153 |
],
|
|
|
147 |
gr.Audio(type="filepath", label="Speech Input", max_length=150, sources=["microphone", "upload"]),
|
148 |
gr.Dropdown(choices=list(lang2code), value="English", label="Language", info="Language of input speech. Select 'Unknown' (1st option) to detect it automatically."),
|
149 |
gr.Dropdown(choices=list(task2code), value="Automatic Speech Recognition", label="Task", info="Task to perform on input speech."),
|
150 |
+
gr.Slider(minimum=1, maximum=5, step=1, value=5, label="Beam Size", info="Beam size used in beam search."),
|
151 |
gr.Checkbox(label="Long Form (Experimental)", info="Whether to perform long-form decoding (experimental feature)."),
|
152 |
gr.Text(label="Text Prompt (Optional)", info="Generation will be conditioned on this prompt if provided"),
|
153 |
],
|