stchakman commited on
Commit
dbd05db
·
1 Parent(s): 1a79c0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def generate_image(prompt):
56
  pipe = StableDiffusionPipeline.from_pretrained(model_id)
57
 
58
  # If you have a GPU available, uncomment the following line
59
- # pipe = pipe.to("cuda")
60
 
61
  image = pipe(prompt).images[0]
62
  return image
 
56
  pipe = StableDiffusionPipeline.from_pretrained(model_id)
57
 
58
  # If you have a GPU available, uncomment the following line
59
+ pipe = pipe.to("cuda")
60
 
61
  image = pipe(prompt).images[0]
62
  return image