Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ from modelscope.hub.snapshot_download import snapshot_download as ms_snapshot_do
|
|
24 |
|
25 |
|
26 |
|
27 |
-
sd_dir = ms_snapshot_download('xichen/cleansd', cache_dir='./
|
28 |
print('=== Pretrained SD weights downloaded ===')
|
29 |
-
model_dir = ms_snapshot_download('xichen/MimicBrush', cache_dir='./
|
30 |
print('=== MimicBrush weights downloaded ===')
|
31 |
val_configs = OmegaConf.load('./configs/inference.yaml')
|
32 |
|
|
|
24 |
|
25 |
|
26 |
|
27 |
+
sd_dir = ms_snapshot_download('xichen/cleansd', cache_dir='./modelscope')
|
28 |
print('=== Pretrained SD weights downloaded ===')
|
29 |
+
model_dir = ms_snapshot_download('xichen/MimicBrush', cache_dir='./modelscope')
|
30 |
print('=== MimicBrush weights downloaded ===')
|
31 |
val_configs = OmegaConf.load('./configs/inference.yaml')
|
32 |
|