daphnai commited on
Commit
8a30e13
·
verified ·
1 Parent(s): f50a1ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -57,10 +57,12 @@ ENDING = """For search acceleration capabilities, please refer to [Searchium.ai]
57
 
58
 
59
  DATA_PATH = '/home/user'
 
60
  downloaded_path = huggingface_hub.snapshot_download(
61
  repo_id="Searchium-ai/clip4clip-webvid150k",
62
  repo_type="model",
63
- cache_dir=DATA_PATH)
 
64
 
65
  ft_visual_features_file = downloaded_path + '/new_data/video_half_dataset_visual_features.npy'
66
  ft_visual_features_file_bin = downloaded_path + '/new_data/video_half_dataset_visual_features_binary_packed.npy'
 
57
 
58
 
59
  DATA_PATH = '/home/user'
60
+
61
  downloaded_path = huggingface_hub.snapshot_download(
62
  repo_id="Searchium-ai/clip4clip-webvid150k",
63
  repo_type="model",
64
+ cache_dir=DATA_PATH,
65
+ allow_patterns=["new_data/*"])
66
 
67
  ft_visual_features_file = downloaded_path + '/new_data/video_half_dataset_visual_features.npy'
68
  ft_visual_features_file_bin = downloaded_path + '/new_data/video_half_dataset_visual_features_binary_packed.npy'