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: