Update subgen.py

This commit is contained in:
McCloudS authored and GitHub committed 2024-06-03 14:10:56 -06:00
1 parent b5a04f61b0
commit 90bd789401
1 file changed
+3
+3
View File
@@ -110,6 +110,9 @@ def update_env_variables():
subextension = f".subgen.{whisper_model.split('.')[0]}.{namesublang}.srt"
subextensionSDH = f".subgen.{whisper_model.split('.')[0]}.{namesublang}.sdh.srt"
if transcribe_folders:
transcribe_existing(transcribe_folders)
update_env_variables()
app = FastAPI()