Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
7344f5d
1
Parent(s):
a93b5aa
Update model.py
Browse files
model.py
CHANGED
@@ -76,7 +76,6 @@ class Model:
|
|
76 |
subprocess.run(shlex.split(f'wget {base_model_file} -O models/sd-v1-4.ckpt'))
|
77 |
subprocess.run(shlex.split(f'wget {sketch_adapter_file} -O models/t2iadapter_sketch_sd14v1.pth'))
|
78 |
subprocess.run(shlex.split(f'wget {pidinet_file} -O models/table5_pidinet.pth'))
|
79 |
-
subprocess.run(shlex.split(f'wget {clip_file} --mirror --no-parent -P models/clip-vit-large-patch14/'))
|
80 |
|
81 |
|
82 |
model = load_model_from_config(config, "models/sd-v1-4.ckpt").to(device)
|
|
|
76 |
subprocess.run(shlex.split(f'wget {base_model_file} -O models/sd-v1-4.ckpt'))
|
77 |
subprocess.run(shlex.split(f'wget {sketch_adapter_file} -O models/t2iadapter_sketch_sd14v1.pth'))
|
78 |
subprocess.run(shlex.split(f'wget {pidinet_file} -O models/table5_pidinet.pth'))
|
|
|
79 |
|
80 |
|
81 |
model = load_model_from_config(config, "models/sd-v1-4.ckpt").to(device)
|