Omnibus commited on
Commit
7f57d30
·
1 Parent(s): 11c1635

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +2 -2
dl.py CHANGED
@@ -50,14 +50,14 @@ def show_f(repo,name,token):
50
  file.writelines(r.text)
51
  file.close()
52
  file_list.append(Path(f'{name}/{f_name}'))
53
- file_out.append(f_name)
54
 
55
  with ZipFile(f"{name}.zip", "w") as zipObj:
56
  for idx, file in enumerate(f_ist):
57
  zipObj.write(f'{name}/{file}')
58
  file_list.append(f'{name}.zip')
59
 
60
- return(gr.Dropdown.update(label="Files", choices=[f for f in file_out]), file_list)
61
 
62
  def show_all(author,token):
63
  spaces=[]
 
50
  file.writelines(r.text)
51
  file.close()
52
  file_list.append(Path(f'{name}/{f_name}'))
53
+ file_out.append(d_app)
54
 
55
  with ZipFile(f"{name}.zip", "w") as zipObj:
56
  for idx, file in enumerate(f_ist):
57
  zipObj.write(f'{name}/{file}')
58
  file_list.append(f'{name}.zip')
59
 
60
+ return(gr.Dropdown.update(label="Files", choices=[f for f in f_ist]), file_list)
61
 
62
  def show_all(author,token):
63
  spaces=[]