forked from camenduru/ai-voice-cloning
brain worms forgot a global, hate global semantics
This commit is contained in:
parent
d17f6fafb0
commit
37ffa60d14
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user