Upload 2 files
Browse files
app.py
CHANGED
|
@@ -51,9 +51,8 @@ print("Real-ESRGAN ready.")
|
|
| 51 |
print("Loading SD2 Inpainting...")
|
| 52 |
|
| 53 |
inpaint = StableDiffusionInpaintPipeline.from_pretrained(
|
| 54 |
-
"
|
| 55 |
torch_dtype=torch.float16,
|
| 56 |
-
variant="fp16",
|
| 57 |
)
|
| 58 |
# No .to("cuda") — ZeroGPU rule: only move inside @spaces.GPU functions
|
| 59 |
print("SD2 Inpainting ready.")
|
|
|
|
| 51 |
print("Loading SD2 Inpainting...")
|
| 52 |
|
| 53 |
inpaint = StableDiffusionInpaintPipeline.from_pretrained(
|
| 54 |
+
"sd2-community/stable-diffusion-2-inpainting",
|
| 55 |
torch_dtype=torch.float16,
|
|
|
|
| 56 |
)
|
| 57 |
# No .to("cuda") — ZeroGPU rule: only move inside @spaces.GPU functions
|
| 58 |
print("SD2 Inpainting ready.")
|