Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
04a10c7
1
Parent(s):
1ca09f6
update
Browse files
app.py
CHANGED
@@ -118,8 +118,8 @@ def initialize_model_and_attr():
|
|
118 |
traceback.print_exc()
|
119 |
return None, None, error_msg
|
120 |
|
121 |
-
#
|
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 |
|