Skip to content

Commit

Permalink
Update subgen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
McCloudS authored Aug 15, 2024
1 parent 9ad4f73 commit fcee265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subgen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
subgen_version = '2024.8.15.106'
subgen_version = '2024.8.12.103'

from datetime import datetime
import subprocess
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit fcee265

Please sign in to comment.