Spaces:
Running
Running
+ model size selection
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ description = "A simple demo of OpenAI's [**Whisper**](https://github.com/openai
|
|
39 |
|
40 |
model_size = gr.Dropdown(label="Model size", choices=['base', 'tiny', 'small', 'medium', 'large'], value='base')
|
41 |
|
42 |
-
delay_slider = gr.inputs.Slider(minimum=1, maximum=5, default=1.2, label="Rate of transcription")
|
43 |
|
44 |
available_languages = sorted(tokenizer.TO_LANGUAGE_CODE.keys())
|
45 |
available_languages = [lang.capitalize() for lang in available_languages]
|
|
|
39 |
|
40 |
model_size = gr.Dropdown(label="Model size", choices=['base', 'tiny', 'small', 'medium', 'large'], value='base')
|
41 |
|
42 |
+
delay_slider = gr.inputs.Slider(minimum=1, maximum=5, default=1.2, label="Rate of transcription, s")
|
43 |
|
44 |
available_languages = sorted(tokenizer.TO_LANGUAGE_CODE.keys())
|
45 |
available_languages = [lang.capitalize() for lang in available_languages]
|