Omnibus commited on
Commit
404c329
1 Parent(s): 0ca1004

Update player.py

Browse files
Files changed (1) hide show
  1. player.py +9 -2
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
- #print(api.whoami())
8
- print(s_ist)
 
 
 
 
 
 
 
 
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)