brain worms forgot a global, hate global semantics

This commit is contained in:
mrq 2023-02-20 15:31:38 +00:00
parent d17f6fafb0
commit 37ffa60d14

View File

@ -1051,6 +1051,8 @@ def unload_voicefixer():
do_gc()
def load_whisper_model(name=None, progress=None):
global whisper_model
if not name:
name = args.whisper_model
else: