ZiyuG commited on
Commit
9d9a564
1 Parent(s): da08d76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ def load_ScanNet_sample(data_path):
21
  def show_logo():
22
  repo_id = "ZiyuG/Cache"
23
  filename = "scene0000_00.pth"
24
- token = HfFolder.get_token() # Ensure you are logged in via huggingface-cli login
 
25
 
26
  try:
27
  file_path = hf_hub_download(repo_id=repo_id, filename=filename, use_auth_token=token, repo_type='dataset')
 
21
  def show_logo():
22
  repo_id = "ZiyuG/Cache"
23
  filename = "scene0000_00.pth"
24
+ token = os.getenv('HF_TOKEN')
25
+ print("token:", token)
26
 
27
  try:
28
  file_path = hf_hub_download(repo_id=repo_id, filename=filename, use_auth_token=token, repo_type='dataset')