Spaces:
Sleeping
Sleeping
Update player.py
Browse files
player.py
CHANGED
@@ -4,5 +4,12 @@ name = "Omnibus"
|
|
4 |
api = HfApi(token=token)
|
5 |
author=name
|
6 |
s_ist = (api.list_spaces(author=author))
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
api = HfApi(token=token)
|
5 |
author=name
|
6 |
s_ist = (api.list_spaces(author=author))
|
7 |
+
print(api.whoami())
|
8 |
+
spaces=[]
|
9 |
+
|
10 |
+
for i,space in enumerate(s_ist):
|
11 |
+
space_ea = space.id.split("/",1)[1]
|
12 |
+
#s_info=api.space_info(f'{name}/{space}',files_metadata=True)
|
13 |
+
#print(s_info)
|
14 |
+
spaces.append(space_ea)
|
15 |
+
print(spaces)
|