Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def hash_repo(repo_name: str):
|
|
33 |
)
|
34 |
blobs[file.lfs["sha256"]] = [
|
35 |
f"https://modelscope.cn/api/v1/models/hanamizukiai/{sub_repo_id}/repo?Revision=main&FilePath={file.rfilename}",
|
36 |
-
f"https://wisemodel.cn/file-proxy/hanamizuki-ai/{sub_repo_id}/-/raw/main/{file.rfilename}",
|
37 |
-
f"https://gitcode.net/spectator2639/{sub_repo_id}/-/raw/main/{file.rfilename}",
|
38 |
]
|
39 |
else:
|
40 |
filepath = hf_hub_download(repo_name, file.rfilename, revision="main")
|
|
|
33 |
)
|
34 |
blobs[file.lfs["sha256"]] = [
|
35 |
f"https://modelscope.cn/api/v1/models/hanamizukiai/{sub_repo_id}/repo?Revision=main&FilePath={file.rfilename}",
|
36 |
+
# f"https://wisemodel.cn/file-proxy/hanamizuki-ai/{sub_repo_id}/-/raw/main/{file.rfilename}",
|
37 |
+
# f"https://gitcode.net/spectator2639/{sub_repo_id}/-/raw/main/{file.rfilename}",
|
38 |
]
|
39 |
else:
|
40 |
filepath = hf_hub_download(repo_name, file.rfilename, revision="main")
|