Spaces:
Runtime error
Runtime error
Update app.py
Browse filesfixed upload large-v3.pt
app.py
CHANGED
|
@@ -53,14 +53,14 @@ from huggingface_hub import snapshot_download
|
|
| 53 |
# ignore_patterns=["*.md", "*.txt"] # 可以忽略一些不必要的文件(可选)
|
| 54 |
# )
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
#
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
|
| 65 |
|
| 66 |
# pretrained = "/mnt/sfs-common/jkyang/EgoGPT/checkpoints/EgoGPT-llavaov-7b-EgoIT-109k-release"
|
|
|
|
| 53 |
# ignore_patterns=["*.md", "*.txt"] # 可以忽略一些不必要的文件(可选)
|
| 54 |
# )
|
| 55 |
|
| 56 |
+
from huggingface_hub import hf_hub_download
|
| 57 |
|
| 58 |
+
# Download the model checkpoint file (large-v3.pt)
|
| 59 |
+
ego_gpt_path = hf_hub_download(
|
| 60 |
+
repo_id="EgoLife-v1/speech_encoder",
|
| 61 |
+
filename="large-v3.pt",
|
| 62 |
+
local_dir="./"
|
| 63 |
+
)
|
| 64 |
|
| 65 |
|
| 66 |
# pretrained = "/mnt/sfs-common/jkyang/EgoGPT/checkpoints/EgoGPT-llavaov-7b-EgoIT-109k-release"
|