From 37ffa60d1459fde4e1749d6e30980ab0178cc10d Mon Sep 17 00:00:00 2001 From: mrq Date: Mon, 20 Feb 2023 15:31:38 +0000 Subject: [PATCH] brain worms forgot a global, hate global semantics --- src/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.py b/src/utils.py index 859167b..5cd2121 100755 --- a/src/utils.py +++ b/src/utils.py @@ -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: