From bad2ec7e8bc51213d086e4ae57829764744dbbf3 Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Sat, 10 Feb 2024 21:27:02 -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 c99c48a..7946125 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -268,7 +268,6 @@ def start_model(): model = stable_whisper.load_faster_whisper(whisper_model, download_root=model_location, device=transcribe_device, cpu_threads=whisper_threads, num_workers=concurrent_transcriptions, compute_type=compute_type) def delete_model(): - global clear_vram_on_complete if clear_vram_on_complete: if len(files_to_transcribe) == 0: global model