Spaces:
Sleeping
Sleeping
Update dl.py
Browse files
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]),
|