Update app.py
Browse files
app.py
CHANGED
|
@@ -93,13 +93,10 @@ class App:
|
|
| 93 |
uvr_params = self.default_params["bgm_separation"]
|
| 94 |
|
| 95 |
with gr.Row():
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
with gr.Column(scale=1):
|
| 101 |
-
#dd_file_format = gr.Dropdown(choices=["SRT", "WebVTT", "txt"], value="SRT", label="File Format")
|
| 102 |
-
dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="txt", label="Output format", visible=False)
|
| 103 |
|
| 104 |
with gr.Row():
|
| 105 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization",interactive=True)
|
|
|
|
| 93 |
uvr_params = self.default_params["bgm_separation"]
|
| 94 |
|
| 95 |
with gr.Row():
|
| 96 |
+
dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value=whisper_params["model_size"],label="Model", info="Larger models will increase the quality of the transcription, but reduce performance")
|
| 97 |
+
dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,value=whisper_params["lang"], label="Language", info="If the language is known upfront, always set it manually")
|
| 98 |
+
#dd_file_format = gr.Dropdown(choices=["SRT", "WebVTT", "txt"], value="SRT", label="File Format")
|
| 99 |
+
dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="txt", label="Output format", visible=False)
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
with gr.Row():
|
| 102 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization",interactive=True)
|