1
0
Fork 0

brain worms forgot a global, hate global semantics

master
mrq 2023-02-20 15:31:38 +07:00
parent d17f6fafb0
commit 37ffa60d14
1 changed files with 2 additions and 0 deletions

@ -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: