SecureLLMSys commited on
Commit
04a10c7
·
1 Parent(s): 1ca09f6
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -118,8 +118,8 @@ def initialize_model_and_attr():
118
  traceback.print_exc()
119
  return None, None, error_msg
120
 
121
- # Initialize with defaults
122
- initialize_model_and_attr()
123
 
124
  # Images replaced with CSS textures and gradients - no longer needed
125
 
 
118
  traceback.print_exc()
119
  return None, None, error_msg
120
 
121
+ # Remove immediate initialization - let lazy initialization work
122
+ # initialize_model_and_attr() # Commented out to avoid main-thread CUDA initialization
123
 
124
  # Images replaced with CSS textures and gradients - no longer needed
125