Spaces:
Running
Running
jhj0517
commited on
Commit
·
99bfa9a
1
Parent(s):
f1fdb12
Apply `add_timestamp`
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ class App:
|
|
53 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English?",
|
54 |
interactive=True)
|
55 |
with gr.Row():
|
56 |
-
cb_timestamp = gr.Checkbox(value=
|
57 |
interactive=True)
|
58 |
with gr.Accordion("Advanced Parameters", open=False):
|
59 |
nb_beam_size = gr.Number(label="Beam Size", value=whisper_params["beam_size"], precision=0, interactive=True,
|
@@ -278,7 +278,7 @@ class App:
|
|
278 |
with gr.Row():
|
279 |
cb_is_pro = gr.Checkbox(label="Pro User?", value=deepl_params["is_pro"])
|
280 |
with gr.Row():
|
281 |
-
cb_timestamp = gr.Checkbox(value=
|
282 |
interactive=True)
|
283 |
with gr.Row():
|
284 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
@@ -308,7 +308,7 @@ class App:
|
|
308 |
nb_max_length = gr.Number(label="Max Length Per Line", value=nllb_params["max_length"],
|
309 |
precision=0)
|
310 |
with gr.Row():
|
311 |
-
cb_timestamp = gr.Checkbox(value=
|
312 |
interactive=True)
|
313 |
with gr.Row():
|
314 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
|
|
53 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English?",
|
54 |
interactive=True)
|
55 |
with gr.Row():
|
56 |
+
cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add a timestamp to the end of the filename",
|
57 |
interactive=True)
|
58 |
with gr.Accordion("Advanced Parameters", open=False):
|
59 |
nb_beam_size = gr.Number(label="Beam Size", value=whisper_params["beam_size"], precision=0, interactive=True,
|
|
|
278 |
with gr.Row():
|
279 |
cb_is_pro = gr.Checkbox(label="Pro User?", value=deepl_params["is_pro"])
|
280 |
with gr.Row():
|
281 |
+
cb_timestamp = gr.Checkbox(value=translation_params["add_timestamp"], label="Add a timestamp to the end of the filename",
|
282 |
interactive=True)
|
283 |
with gr.Row():
|
284 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
|
|
308 |
nb_max_length = gr.Number(label="Max Length Per Line", value=nllb_params["max_length"],
|
309 |
precision=0)
|
310 |
with gr.Row():
|
311 |
+
cb_timestamp = gr.Checkbox(value=translation_params["add_timestamp"], label="Add a timestamp to the end of the filename",
|
312 |
interactive=True)
|
313 |
with gr.Row():
|
314 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|