Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def load_and_prepare_model():
|
|
| 137 |
'''
|
| 138 |
|
| 139 |
pipe.to(device=device, dtype=torch.bfloat16)
|
| 140 |
-
pipe.vae.to(
|
| 141 |
pipe.vae.do_resize=False
|
| 142 |
#pipe.vae.do_rescale=False
|
| 143 |
#pipe.vae.do_convert_rgb=True
|
|
|
|
| 137 |
'''
|
| 138 |
|
| 139 |
pipe.to(device=device, dtype=torch.bfloat16)
|
| 140 |
+
pipe.vae.to(device=device, dtype=torch.bfloat16)
|
| 141 |
pipe.vae.do_resize=False
|
| 142 |
#pipe.vae.do_rescale=False
|
| 143 |
#pipe.vae.do_convert_rgb=True
|