Omnibus commited on
Commit
8b6e07b
1 Parent(s): 6307d40

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +2 -2
dl.py CHANGED
@@ -60,9 +60,9 @@ def show_f(repo,name,token):
60
 
61
  def show_f2(repo,name,token):
62
  api = HfApi(token=token)
63
- f_ist = snapshot_download(repo_id=f'{repo}/{name}', repo_type="space")
64
 
65
- #f_ist = (api.list_repo_files(repo_id=f'{repo}/{name}', repo_type="space"))
66
  print (f_ist)
67
  file_list = []
68
  file_out = []
 
60
 
61
  def show_f2(repo,name,token):
62
  api = HfApi(token=token)
63
+ #f_ist = snapshot_download(repo_id=f'{repo}/{name}', repo_type="space")
64
 
65
+ f_ist = (api.list_repo_files(repo_id=f'{repo}/{name}', repo_type="space"))
66
  print (f_ist)
67
  file_list = []
68
  file_out = []