hshetty commited on
Commit
25b84dd
·
1 Parent(s): c560c8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def improve_image(img):
24
  return resp_img
25
 
26
  pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4",use_auth_token= auth_token)
27
- pipe = pipe.to("cuda")
28
 
29
  def generate(celebrity, setting):
30
  # ANSWER HERE
 
24
  return resp_img
25
 
26
  pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4",use_auth_token= auth_token)
27
+ pipe = pipe.to(device)
28
 
29
  def generate(celebrity, setting):
30
  # ANSWER HERE