mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
9ad4f73846
commit
fcee26578f
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
subgen_version = '2024.8.15.106'
|
||||
subgen_version = '2024.8.12.103'
|
||||
|
||||
from datetime import datetime
|
||||
import subprocess
|
||||
@@ -588,7 +588,7 @@ def gen_subtitles(file_path: str, transcription_type: str, force_language=None)
|
||||
args['progress_callback'] = progress
|
||||
|
||||
if model_prompt:
|
||||
args['initial_prompt'] = greetings_translations.get(language, '') or custom_model_prompt
|
||||
args['initial_prompt'] = greetings_translations.get(force_language, '') or custom_model_prompt
|
||||
if custom_regroup:
|
||||
args['regroup'] = custom_regroup
|
||||
|
||||
|
||||
Reference in new issue
Block a user