@@ -226,7 +226,7 @@ def delete_model():
|
|||||||
if len(files_to_transcribe) == 0:
|
if len(files_to_transcribe) == 0:
|
||||||
global model
|
global model
|
||||||
logging.debug("Queue is empty, clearing/releasing VRAM")
|
logging.debug("Queue is empty, clearing/releasing VRAM")
|
||||||
del model
|
model = None
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
def get_lang_pair(whisper_languages, key):
|
def get_lang_pair(whisper_languages, key):
|
||||||
|
|||||||
Reference in New Issue
Block a user