nroggendorff commited on
Commit
1bbb208
·
verified ·
1 Parent(s): 9ab3040

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -4,9 +4,7 @@ import spaces
4
  import torch
5
  from diffusers import StableDiffusionXLPipeline
6
 
7
- pipeline = StableDiffusionXLPipeline.from_pretrained(
8
- "stabilityai/stable-diffusion-xl-base-1.0"
9
- ).to("cuda")
10
 
11
  @spaces.GPU
12
  def generate(prompt, negative_prompt, width, height, sample_steps):
 
4
  import torch
5
  from diffusers import StableDiffusionXLPipeline
6
 
7
+ pipeline = StableDiffusionXLPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0").to("cuda")
 
 
8
 
9
  @spaces.GPU
10
  def generate(prompt, negative_prompt, width, height, sample_steps):