Spaces:
Sleeping
Sleeping
Commit
•
69defb5
1
Parent(s):
c85f0fa
Update app.py
Browse files
app.py
CHANGED
@@ -595,9 +595,9 @@ def create_ui(app_config: ApplicationConfig):
|
|
595 |
ui_description += "\n\n" + "Max audio file length: " + str(app_config.input_audio_max_duration) + " s"
|
596 |
|
597 |
whisper_models = app_config.get_model_names()
|
598 |
-
|
|
|
599 |
common_inputs = lambda : [
|
600 |
-
# gr.Dropdown(choices=["whisper", "faster-whisper"], label="Whisper Engine", value=app_config.whisper_implementation),
|
601 |
gr.Dropdown(choices=whisper_models, value=app_config.default_model_name, label="Model"),
|
602 |
gr.Dropdown(choices=sorted(get_language_names()), label="Language", value=app_config.language),
|
603 |
gr.Text(label="URL (YouTube, etc.)"),
|
|
|
595 |
ui_description += "\n\n" + "Max audio file length: " + str(app_config.input_audio_max_duration) + " s"
|
596 |
|
597 |
whisper_models = app_config.get_model_names()
|
598 |
+
|
599 |
+
# gr.Dropdown(choices=["whisper", "faster-whisper"], label="Whisper Engine", value=app_config.whisper_implementation),
|
600 |
common_inputs = lambda : [
|
|
|
601 |
gr.Dropdown(choices=whisper_models, value=app_config.default_model_name, label="Model"),
|
602 |
gr.Dropdown(choices=sorted(get_language_names()), label="Language", value=app_config.language),
|
603 |
gr.Text(label="URL (YouTube, etc.)"),
|