Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
91b2cfd
1
Parent(s):
8f0d334
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ def generate(
|
|
83 |
num_images_per_prompt: int = 2,
|
84 |
profile: gr.OAuthProfile | None = None,
|
85 |
) -> PIL.Image.Image:
|
86 |
-
|
|
|
87 |
prior_pipeline.to(device)
|
88 |
decoder_pipeline.to(device)
|
89 |
|
|
|
83 |
num_images_per_prompt: int = 2,
|
84 |
profile: gr.OAuthProfile | None = None,
|
85 |
) -> PIL.Image.Image:
|
86 |
+
|
87 |
+
#previewer.eval().requires_grad_(False).to(device).to(dtype)
|
88 |
prior_pipeline.to(device)
|
89 |
decoder_pipeline.to(device)
|
90 |
|