multimodalart HF staff commited on
Commit
91b2cfd
1 Parent(s): 8f0d334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- previewer.eval().requires_grad_(False).to(device).to(dtype)
 
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