Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import hf_hub_download
|
|
| 4 |
# 下载模型文件(会自动缓存到 /root/.cache/huggingface/hub/)
|
| 5 |
model_path = hf_hub_download(
|
| 6 |
repo_id="Hanxiaofeng123/Deepcube", # 替换成你自己的仓库
|
| 7 |
-
repo_type="
|
| 8 |
filename="checkpoint/final_model_K_30.pth"
|
| 9 |
)
|
| 10 |
|
|
|
|
| 4 |
# 下载模型文件(会自动缓存到 /root/.cache/huggingface/hub/)
|
| 5 |
model_path = hf_hub_download(
|
| 6 |
repo_id="Hanxiaofeng123/Deepcube", # 替换成你自己的仓库
|
| 7 |
+
repo_type="space",
|
| 8 |
filename="checkpoint/final_model_K_30.pth"
|
| 9 |
)
|
| 10 |
|