Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ CNET_MODEL = "MrPio/Texture-Anything_CNet-SD15"
|
|
12 |
SD_MODEL = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
13 |
|
14 |
controlnet = ControlNetModel.from_pretrained(
|
15 |
-
CNET_MODEL, cache_dir=CACHE_DIR, torch_dtype=torch.float16
|
16 |
)
|
17 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
18 |
SD_MODEL,
|
|
|
12 |
SD_MODEL = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
13 |
|
14 |
controlnet = ControlNetModel.from_pretrained(
|
15 |
+
CNET_MODEL, cache_dir=CACHE_DIR, torch_dtype=torch.float16
|
16 |
)
|
17 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
18 |
SD_MODEL,
|