Fucius commited on
Commit
7b43b38
1 Parent(s): 44a822d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ import torch
6
  pipe = DiffusionPipeline.from_pretrained("Fucius/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16")
7
  pipe.to('cuda')
8
 
 
9
  @spaces.GPU
10
  def generate(prompt):
11
  return pipe(prompt).images
 
6
  pipe = DiffusionPipeline.from_pretrained("Fucius/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16")
7
  pipe.to('cuda')
8
 
9
+
10
  @spaces.GPU
11
  def generate(prompt):
12
  return pipe(prompt).images