Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ model_path = hf_hub_download(
|
|
| 6 |
repo_id="Hanxiaofeng123/Deepcube", # 替换成你自己的仓库
|
| 7 |
repo_type="space",
|
| 8 |
filename="checkpoint/final_model_K_30.pth",
|
| 9 |
-
cache_dir="/
|
| 10 |
)
|
| 11 |
|
| 12 |
import flask
|
|
|
|
| 6 |
repo_id="Hanxiaofeng123/Deepcube", # 替换成你自己的仓库
|
| 7 |
repo_type="space",
|
| 8 |
filename="checkpoint/final_model_K_30.pth",
|
| 9 |
+
cache_dir="/tmp/hf_cache" # 指定在工作目录下缓存
|
| 10 |
)
|
| 11 |
|
| 12 |
import flask
|