nroggendorff commited on
Commit
30fe654
1 Parent(s): ca79767

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from diffusers import DiffusionPipeline
5
  @spaces.GPU
6
  def generate_image(steps):
7
  pipeline = DiffusionPipeline.from_pretrained("nroggendorff/nebulae", use_safetensors=True)
8
- pipe = pipeline#.to("cuda")
9
  image = pipe(num_inference_steps=steps).images[0]
10
  return image
11
 
 
5
  @spaces.GPU
6
  def generate_image(steps):
7
  pipeline = DiffusionPipeline.from_pretrained("nroggendorff/nebulae", use_safetensors=True)
8
+ pipe = pipeline.to("cuda")
9
  image = pipe(num_inference_steps=steps).images[0]
10
  return image
11