Spaces:
Sleeping
Sleeping
Update main_code_script.py
Browse files- main_code_script.py +3 -1
main_code_script.py
CHANGED
|
@@ -60,7 +60,9 @@ def inpaint_clothing(image, mask_img, clothing_prompt, device="cuda" if torch.cu
|
|
| 60 |
using Stable Diffusion Inpainting.
|
| 61 |
"""
|
| 62 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
| 63 |
-
"stabilityai/stable-diffusion-2-inpainting",
|
|
|
|
|
|
|
| 64 |
torch_dtype=torch.float16
|
| 65 |
)
|
| 66 |
pipe = pipe.to(device)
|
|
|
|
| 60 |
using Stable Diffusion Inpainting.
|
| 61 |
"""
|
| 62 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
| 63 |
+
# "stabilityai/stable-diffusion-2-inpainting",
|
| 64 |
+
"stabilityai/stable-diffusion-2-base"
|
| 65 |
+
# "SimianLuo/LCM_Dreamshaper_v7"
|
| 66 |
torch_dtype=torch.float16
|
| 67 |
)
|
| 68 |
pipe = pipe.to(device)
|