Skip to content

Commit

Permalink
Merge pull request #157 from jhj0517/fix/update-default-model
Browse files Browse the repository at this point in the history
update default model to `large-v2`
  • Loading branch information
jhj0517 authored May 29, 2024
2 parents fa8bc12 + 78f89c5 commit 14d5cf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def launch(self):
with gr.Row():
input_file = gr.Files(type="filepath", label="Upload File here")
with gr.Row():
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v3",
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
label="Model")
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
value="Automatic Detection", label="Language")
Expand Down Expand Up @@ -110,7 +110,7 @@ def launch(self):
tb_title = gr.Label(label="Youtube Title")
tb_description = gr.Textbox(label="Youtube Description", max_lines=15)
with gr.Row():
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v3",
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
label="Model")
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
value="Automatic Detection", label="Language")
Expand Down Expand Up @@ -166,7 +166,7 @@ def launch(self):
with gr.Row():
mic_input = gr.Microphone(label="Record with Mic", type="filepath", interactive=True)
with gr.Row():
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v3",
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value="large-v2",
label="Model")
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,
value="Automatic Detection", label="Language")
Expand Down

0 comments on commit 14d5cf9

Please sign in to comment.