Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,7 @@ class App:
|
|
317 |
files_subtitles = gr.Files(label="Output data", interactive=False, scale=1,file_count="multiple")
|
318 |
# btn_openfolder = gr.Button('📂', scale=1)
|
319 |
|
320 |
-
params = [input_file, tb_input_folder, dd_file_format, cb_timestamp]
|
321 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|
322 |
inputs=params + whisper_params.as_list(),
|
323 |
outputs=[tb_indicator, files_subtitles, tb_info])
|
|
|
317 |
files_subtitles = gr.Files(label="Output data", interactive=False, scale=1,file_count="multiple")
|
318 |
# btn_openfolder = gr.Button('📂', scale=1)
|
319 |
|
320 |
+
params = [input_file, tb_input_folder, dd_file_format, cb_timestamp, cb_translate_output, dd_translate_model, dd_target_lang]
|
321 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|
322 |
inputs=params + whisper_params.as_list(),
|
323 |
outputs=[tb_indicator, files_subtitles, tb_info])
|