Hzqhssn commited on
Commit
30910d7
·
1 Parent(s): b6addff
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float
12
  pipe = pipe.to(device)
13
 
14
 
15
-
16
  # Prediction function
17
  def generate_image(prompt):
18
 
 
12
  pipe = pipe.to(device)
13
 
14
 
15
+ @spaces.GPU
16
  # Prediction function
17
  def generate_image(prompt):
18