Nicous commited on
Commit
166d601
·
verified ·
1 Parent(s): c1983fc

Update app.py

Browse files

fixed upload large-v3.pt

Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -53,14 +53,14 @@ from huggingface_hub import snapshot_download
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/EgoGPT",
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"
 
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"