Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -313,8 +313,7 @@ class App:
|
|
313 |
dd_nllb_targetlang = gr.Dropdown(label="Target Language",
|
314 |
choices=self.nllb_inf.available_target_langs)
|
315 |
with gr.Row():
|
316 |
-
cb_timestamp = gr.Checkbox(value=True, label="Add a timestamp to the end of the filename",
|
317 |
-
interactive=True)
|
318 |
with gr.Row():
|
319 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
320 |
with gr.Row():
|
@@ -363,5 +362,4 @@ parser.add_argument('--faster_whisper_model_dir', type=str, default=os.path.join
|
|
363 |
_args = parser.parse_args()
|
364 |
|
365 |
if __name__ == "__main__":
|
366 |
-
app = App(args=_args)
|
367 |
-
app.launch()
|
|
|
313 |
dd_nllb_targetlang = gr.Dropdown(label="Target Language",
|
314 |
choices=self.nllb_inf.available_target_langs)
|
315 |
with gr.Row():
|
316 |
+
cb_timestamp = gr.Checkbox(value=True, label="Add a timestamp to the end of the filename", interactive=True)
|
|
|
317 |
with gr.Row():
|
318 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
319 |
with gr.Row():
|
|
|
362 |
_args = parser.parse_args()
|
363 |
|
364 |
if __name__ == "__main__":
|
365 |
+
app = App(args=_args)
|
|