Spaces:
Sleeping
Sleeping
Update player.py
Browse files
player.py
CHANGED
|
@@ -3,7 +3,7 @@ token = ""
|
|
| 3 |
name = "Omnibus"
|
| 4 |
api = HfApi(token=token)
|
| 5 |
author=name
|
| 6 |
-
s_ist = (api.list_datasets(author=author))
|
| 7 |
#print(api.whoami())
|
| 8 |
spaces=[]
|
| 9 |
|
|
@@ -11,6 +11,7 @@ for space in s_ist:
|
|
| 11 |
#for i,space in enumerate(s_ist):
|
| 12 |
try:
|
| 13 |
space_ea = space.id.split("/",1)[1]
|
|
|
|
| 14 |
spaces.append(space_ea)
|
| 15 |
|
| 16 |
print(space.id)
|
|
|
|
| 3 |
name = "Omnibus"
|
| 4 |
api = HfApi(token=token)
|
| 5 |
author=name
|
| 6 |
+
s_ist = (api.list_datasets(author=author,search="ai-tube"))
|
| 7 |
#print(api.whoami())
|
| 8 |
spaces=[]
|
| 9 |
|
|
|
|
| 11 |
#for i,space in enumerate(s_ist):
|
| 12 |
try:
|
| 13 |
space_ea = space.id.split("/",1)[1]
|
| 14 |
+
|
| 15 |
spaces.append(space_ea)
|
| 16 |
|
| 17 |
print(space.id)
|