Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -166,7 +166,7 @@ class StableMultiDiffusionPipeline(nn.Module):
|
|
166 |
self.vae_scale_factor = self.pipe.vae_scale_factor
|
167 |
|
168 |
# Prepare white background for bootstrapping.
|
169 |
-
self.get_white_background(768, 768)
|
170 |
|
171 |
print(f'[INFO] Model is loaded!')
|
172 |
|
|
|
166 |
self.vae_scale_factor = self.pipe.vae_scale_factor
|
167 |
|
168 |
# Prepare white background for bootstrapping.
|
169 |
+
# self.get_white_background(768, 768) # This cause problem in HF ZeroGPU environment.
|
170 |
|
171 |
print(f'[INFO] Model is loaded!')
|
172 |
|