fffiloni commited on
Commit
6e79317
1 Parent(s): 1364917

Update minigpt4_video_demo.py

Browse files
Files changed (1) hide show
  1. minigpt4_video_demo.py +3 -1
minigpt4_video_demo.py CHANGED
@@ -21,10 +21,11 @@ from huggingface_hub import login, hf_hub_download
21
  hf_token = os.environ.get('HF_TKN')
22
  login(token=hf_token)
23
 
 
24
  folder_name = "checkpoints"
25
  if not os.path.exists(folder_name):
26
  os.makedirs(folder_name)
27
-
28
  hf_hub_download(
29
  repo_id='Vision-CAIR/MiniGPT4-Video',
30
  subfolder='checkpoints',
@@ -32,6 +33,7 @@ hf_hub_download(
32
  local_dir='checkpoints',
33
  local_dir_use_symlinks=False,
34
  )
 
35
 
36
  import spaces
37
 
 
21
  hf_token = os.environ.get('HF_TKN')
22
  login(token=hf_token)
23
 
24
+ '''
25
  folder_name = "checkpoints"
26
  if not os.path.exists(folder_name):
27
  os.makedirs(folder_name)
28
+
29
  hf_hub_download(
30
  repo_id='Vision-CAIR/MiniGPT4-Video',
31
  subfolder='checkpoints',
 
33
  local_dir='checkpoints',
34
  local_dir_use_symlinks=False,
35
  )
36
+ '''
37
 
38
  import spaces
39