From b5ccb1b5fd63b0fd94f5b4facbdfc4f7427a14ee Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Sat, 28 Jan 2023 12:15:16 -0700 Subject: [PATCH] Update subgen.py --- subgen/subgen.py | 1 - 1 file changed, 1 deletion(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index 0cbe797..51e237a 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -43,7 +43,6 @@ def process_post_request(request, *args, **kwargs): if ((procaddedmedia and event == "added") or (procmediaonplay and event == "played")) and (len(glob.glob("{}/{}*subgen*".format(filepath, filenamenoextension))) == 0): #glob nonsense checks if there exists a subgen file already and won't make a new one if os.getenv('WHISPER_SPEEDUP') == "True" : print("This is a speedup run!") - print(os.getenv('WHISPER_SPEEDUP')) finalsubname = "{0}/{1}.subgen.{2}.speedup.{3}".format( filepath, filenamenoextension, whisper_model, namesublang) else: