Spaces:
Running
Running
jhj0517
commited on
Commit
·
78f89c5
1
Parent(s):
fa8bc12
update default model
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ class App:
|
|
| 51 |
with gr.Row():
|
| 52 |
input_file = gr.Files(type="filepath", label="Upload File here")
|
| 53 |
with gr.Row():
|
| 54 |
-
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-
|
| 55 |
label="Model")
|
| 56 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 57 |
value="Automatic Detection", label="Language")
|
|
@@ -110,7 +110,7 @@ class App:
|
|
| 110 |
tb_title = gr.Label(label="Youtube Title")
|
| 111 |
tb_description = gr.Textbox(label="Youtube Description", max_lines=15)
|
| 112 |
with gr.Row():
|
| 113 |
-
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-
|
| 114 |
label="Model")
|
| 115 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 116 |
value="Automatic Detection", label="Language")
|
|
@@ -166,7 +166,7 @@ class App:
|
|
| 166 |
with gr.Row():
|
| 167 |
mic_input = gr.Microphone(label="Record with Mic", type="filepath", interactive=True)
|
| 168 |
with gr.Row():
|
| 169 |
-
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-
|
| 170 |
label="Model")
|
| 171 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 172 |
value="Automatic Detection", label="Language")
|
|
|
|
| 51 |
with gr.Row():
|
| 52 |
input_file = gr.Files(type="filepath", label="Upload File here")
|
| 53 |
with gr.Row():
|
| 54 |
+
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
|
| 55 |
label="Model")
|
| 56 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 57 |
value="Automatic Detection", label="Language")
|
|
|
|
| 110 |
tb_title = gr.Label(label="Youtube Title")
|
| 111 |
tb_description = gr.Textbox(label="Youtube Description", max_lines=15)
|
| 112 |
with gr.Row():
|
| 113 |
+
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
|
| 114 |
label="Model")
|
| 115 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 116 |
value="Automatic Detection", label="Language")
|
|
|
|
| 166 |
with gr.Row():
|
| 167 |
mic_input = gr.Microphone(label="Record with Mic", type="filepath", interactive=True)
|
| 168 |
with gr.Row():
|
| 169 |
+
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
|
| 170 |
label="Model")
|
| 171 |
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
|
| 172 |
value="Automatic Detection", label="Language")
|