mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 07:26:07 +00:00
Update subgen.py
This commit is contained in:
1 parent
7a09b0ad60
commit
645e0c98cb
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
subgen_version = '2025.02.92'
|
||||
subgen_version = '2025.02.93'
|
||||
|
||||
from language_code import LanguageCode
|
||||
from datetime import datetime
|
||||
@@ -713,7 +713,7 @@ def delete_model():
|
||||
if transcribe_device.lower() == 'cuda' and torch.cuda.is_available():
|
||||
torch.cuda.empty_cache()
|
||||
logging.debug("CUDA cache cleared.")
|
||||
if os.name != 'nt': # don't garbage collect on Windows
|
||||
if os.name != 'nt': # don't garbage collect on Windows, it will crash the script
|
||||
gc.collect()
|
||||
|
||||
def isAudioFileExtension(file_extension):
|
||||
|
||||
Reference in new issue
Block a user