Spaces:
Paused
Paused
Update dl.py
Browse files
dl.py
CHANGED
|
@@ -31,8 +31,8 @@ def show_s(name,token):
|
|
| 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]),
|
|
|
|
| 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]),
|