forked from mrq/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()
|
do_gc()
|
||||||
|
|
||||||
def load_whisper_model(name=None, progress=None):
|
def load_whisper_model(name=None, progress=None):
|
||||||
|
global whisper_model
|
||||||
|
|
||||||
if not name:
|
if not name:
|
||||||
name = args.whisper_model
|
name = args.whisper_model
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user