Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ pipeline = StableDiffusionInpaintPipeline.from_pretrained(
|
|
8 |
revision="fp16"
|
9 |
)
|
10 |
|
11 |
-
|
12 |
|
13 |
def predict(mask_img):
|
14 |
prompt = "a green frog, highly detailed, natural lighting"
|
|
|
8 |
revision="fp16"
|
9 |
)
|
10 |
|
11 |
+
pipeline = pipeline.to("cuda")
|
12 |
|
13 |
def predict(mask_img):
|
14 |
prompt = "a green frog, highly detailed, natural lighting"
|