ChenyangSi commited on
Commit
ff69ab2
·
1 Parent(s): f182225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ with block:
117
  model_id = "CompVis/stable-diffusion-v1-4"
118
 
119
  pip = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
120
- pip = pip_sd.to("cuda")
121
 
122
  with gr.Row():
123
  with gr.Column():
 
117
  model_id = "CompVis/stable-diffusion-v1-4"
118
 
119
  pip = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
120
+ pip = pip.to("cuda")
121
 
122
  with gr.Row():
123
  with gr.Column():