Spaces:
Runtime error
Runtime error
stanley commited on
Commit ·
47a0dbd
1
Parent(s): f7808ed
gpu debugging
Browse files
app.py
CHANGED
|
@@ -461,8 +461,8 @@ class StableDiffusionInpaint:
|
|
| 461 |
# mask_image=mask_image.filter(ImageFilter.GaussianBlur(radius = 8))
|
| 462 |
|
| 463 |
# Cast input image and mask to float32
|
| 464 |
-
init_image = init_image.convert("RGB").to(torch.float32)
|
| 465 |
-
mask_image = mask_image.convert("L").to(torch.float32)
|
| 466 |
if True:
|
| 467 |
images = inpaint_func(
|
| 468 |
prompt=prompt,
|
|
|
|
| 461 |
# mask_image=mask_image.filter(ImageFilter.GaussianBlur(radius = 8))
|
| 462 |
|
| 463 |
# Cast input image and mask to float32
|
| 464 |
+
# init_image = init_image.convert("RGB").to(torch.float32)
|
| 465 |
+
# mask_image = mask_image.convert("L").to(torch.float32)
|
| 466 |
if True:
|
| 467 |
images = inpaint_func(
|
| 468 |
prompt=prompt,
|