Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
7e98f35
1
Parent(s):
484221b
Fix typo in file paths
Browse files
model.py
CHANGED
@@ -68,8 +68,8 @@ class Model:
|
|
68 |
config = OmegaConf.load("config_sketch.yaml")
|
69 |
config.model.params.cond_stage_config.params.device = device
|
70 |
|
71 |
-
base_model_file = "https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/
|
72 |
-
sketch_adapter_file = "https://huggingface.co/TencentARC/T2I-Adapter/
|
73 |
pidinet_file = model_path+"table5_pidinet.pth"
|
74 |
|
75 |
subprocess.run(shlex.split(f'wget {base_model_file} -O models/sd-v1-4.ckpt'))
|
|
|
68 |
config = OmegaConf.load("config_sketch.yaml")
|
69 |
config.model.params.cond_stage_config.params.device = device
|
70 |
|
71 |
+
base_model_file = "https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt"
|
72 |
+
sketch_adapter_file = "https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth"
|
73 |
pidinet_file = model_path+"table5_pidinet.pth"
|
74 |
|
75 |
subprocess.run(shlex.split(f'wget {base_model_file} -O models/sd-v1-4.ckpt'))
|