Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ class App:
|
|
| 117 |
with gr.Column(scale=1):
|
| 118 |
with gr.Row():
|
| 119 |
cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamp to preview", interactive=True)
|
| 120 |
-
cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to
|
| 121 |
with gr.Row():
|
| 122 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English", info="Translate using OpenAI Whisper's built-in module",interactive=True)
|
| 123 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
|
@@ -341,7 +341,7 @@ class App:
|
|
| 341 |
show_label=True,
|
| 342 |
show_copy_button=True,
|
| 343 |
show_fullscreen_button=True,
|
| 344 |
-
interactive=
|
| 345 |
visible=False,
|
| 346 |
elem_id="md_preview")
|
| 347 |
|
|
|
|
| 117 |
with gr.Column(scale=1):
|
| 118 |
with gr.Row():
|
| 119 |
cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamp to preview", interactive=True)
|
| 120 |
+
cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output", interactive=True)
|
| 121 |
with gr.Row():
|
| 122 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English", info="Translate using OpenAI Whisper's built-in module",interactive=True)
|
| 123 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
|
|
|
| 341 |
show_label=True,
|
| 342 |
show_copy_button=True,
|
| 343 |
show_fullscreen_button=True,
|
| 344 |
+
interactive=True,
|
| 345 |
visible=False,
|
| 346 |
elem_id="md_preview")
|
| 347 |
|