Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ safety_checker.StableDiffusionSafetyChecker.forward = sc
|
|
12 |
|
13 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
14 |
"runwayml/stable-diffusion-inpainting",
|
15 |
-
revision="
|
16 |
-
torch_dtype=torch.
|
17 |
)
|
18 |
pipe.to('cpu')
|
19 |
|
|
|
12 |
|
13 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
14 |
"runwayml/stable-diffusion-inpainting",
|
15 |
+
revision="fp32",
|
16 |
+
torch_dtype=torch.float32,
|
17 |
)
|
18 |
pipe.to('cpu')
|
19 |
|