added dec
Browse files
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 |
|