Omnibus commited on
Commit
f4751de
1 Parent(s): e523e3c

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +2 -3
dl.py CHANGED
@@ -30,10 +30,9 @@ def show_s(name,token):
30
  author=name
31
  s_ist = (api.list_spaces(author=author))
32
  for i,space in enumerate(s_ist):
33
-
34
- s_info=api.space_info(f'{space}',files_metadata=True)
35
- print(s_info)
36
  space_ea = space.id.split("/",1)[1]
 
 
37
  spaces.append(space_ea)
38
  #print (space_ea)
39
  return(gr.Dropdown.update(label="Spaces", choices=[s for s in spaces]),
 
30
  author=name
31
  s_ist = (api.list_spaces(author=author))
32
  for i,space in enumerate(s_ist):
 
 
 
33
  space_ea = space.id.split("/",1)[1]
34
+ s_info=api.space_info(f'{name}/{space}',files_metadata=True)
35
+ print(s_info)
36
  spaces.append(space_ea)
37
  #print (space_ea)
38
  return(gr.Dropdown.update(label="Spaces", choices=[s for s in spaces]),