Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
•
f1f7cc6
1
Parent(s):
c8a8dc4
Update app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,7 @@ def load_sd_model():
|
|
284 |
if os.environ.get('IS_MY_DEBUG') is None:
|
285 |
sd_pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
286 |
"runwayml/stable-diffusion-inpainting",
|
287 |
-
|
288 |
# "stabilityai/stable-diffusion-2-inpainting",
|
289 |
torch_dtype=torch.float16,
|
290 |
)
|
|
|
284 |
if os.environ.get('IS_MY_DEBUG') is None:
|
285 |
sd_pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
286 |
"runwayml/stable-diffusion-inpainting",
|
287 |
+
revision="fp16",
|
288 |
# "stabilityai/stable-diffusion-2-inpainting",
|
289 |
torch_dtype=torch.float16,
|
290 |
)
|