Spaces:
Runtime error
Runtime error
jiedong-yang
commited on
Commit
β’
745574d
1
Parent(s):
45e0cb3
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ with demo:
|
|
165 |
text = gr.Textbox(label="Transcription", placeholder="transcription")
|
166 |
|
167 |
with gr.Row():
|
168 |
-
model_options = gr.Dropdown(['
|
169 |
model_options.change(load_model, inputs=model_options, outputs=model_options)
|
170 |
|
171 |
beam_size_slider = gr.Slider(1, 10, value=5, step=1, label="param: beam_size")
|
|
|
165 |
text = gr.Textbox(label="Transcription", placeholder="transcription")
|
166 |
|
167 |
with gr.Row():
|
168 |
+
model_options = gr.Dropdown(['tiny.en', 'base.en'], value=default_model, label="models")
|
169 |
model_options.change(load_model, inputs=model_options, outputs=model_options)
|
170 |
|
171 |
beam_size_slider = gr.Slider(1, 10, value=5, step=1, label="param: beam_size")
|