Spaces:
Running
Running
Commit
·
5733029
1
Parent(s):
060d465
update
Browse files- gradio_demo/app.py +2 -2
gradio_demo/app.py
CHANGED
@@ -140,8 +140,8 @@ def instantir_restore(
|
|
140 |
pipe.unet.set_adapter('previewer')
|
141 |
|
142 |
print('optimizing')
|
143 |
-
pipe.vae.enable_slicing()
|
144 |
-
pipe.vae.enable_tiling()
|
145 |
if cpu_offload:
|
146 |
pipe.enable_model_cpu_offload()
|
147 |
pipe.enable_sequential_cpu_offload()
|
|
|
140 |
pipe.unet.set_adapter('previewer')
|
141 |
|
142 |
print('optimizing')
|
143 |
+
# pipe.vae.enable_slicing()
|
144 |
+
# pipe.vae.enable_tiling()
|
145 |
if cpu_offload:
|
146 |
pipe.enable_model_cpu_offload()
|
147 |
pipe.enable_sequential_cpu_offload()
|