xieli commited on
Commit
8a0d894
·
1 Parent(s): 21a52da
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ _model_lock = threading.Lock() # Thread lock for model initialization
43
 
44
  def initialize_models():
45
  """Initialize models on first GPU call (ZeroGPU optimization: load inside GPU context)"""
46
- global encoder, common_tts_engine, whisper_asr, args_global
47
 
48
  # Fast path: check if already initialized (without lock)
49
  if common_tts_engine is not None:
 
43
 
44
  def initialize_models():
45
  """Initialize models on first GPU call (ZeroGPU optimization: load inside GPU context)"""
46
+ global encoder, common_tts_engine, args_global
47
 
48
  # Fast path: check if already initialized (without lock)
49
  if common_tts_engine is not None: