Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
2267dd9
1
Parent(s):
7148a58
app.py
CHANGED
|
@@ -387,11 +387,11 @@ if __name__ == '__main__':
|
|
| 387 |
|
| 388 |
example_img_list = []
|
| 389 |
for name in ['3_2 copy.png', '25_1 copy.png']:
|
| 390 |
-
local_path =
|
| 391 |
repo_id="hanquansanren/DvD",
|
| 392 |
filename=f"examples/{name}",
|
| 393 |
token=token
|
| 394 |
-
)
|
| 395 |
dest_path = Path("examples") / name
|
| 396 |
dest_path.parent.mkdir(exist_ok=True)
|
| 397 |
shutil.copy(local_path, dest_path)
|
|
|
|
| 387 |
|
| 388 |
example_img_list = []
|
| 389 |
for name in ['3_2 copy.png', '25_1 copy.png']:
|
| 390 |
+
local_path = hf_hub_download(
|
| 391 |
repo_id="hanquansanren/DvD",
|
| 392 |
filename=f"examples/{name}",
|
| 393 |
token=token
|
| 394 |
+
)
|
| 395 |
dest_path = Path("examples") / name
|
| 396 |
dest_path.parent.mkdir(exist_ok=True)
|
| 397 |
shutil.copy(local_path, dest_path)
|