Spaces:
Sleeping
Sleeping
Update player.py
Browse files
player.py
CHANGED
@@ -14,11 +14,11 @@ def find_dataset(author=None):
|
|
14 |
try:
|
15 |
#space_ea = space.id.split("/",1)[1]
|
16 |
spaces.append(f'{space.id}<br>')
|
17 |
-
out_html = f'{out_html}{space.id}
|
18 |
file_box = [info.path for info in list_files_info(f'{space.id}', repo_type="dataset")]
|
19 |
for file in file_box:
|
20 |
if file.startswith("prompt_"):
|
21 |
-
out_html=f'{out_html}{file}<br>'
|
22 |
#print([info.path for info in list_files_info(f'{space.id}', repo_type="dataset")])
|
23 |
#print(space.id)
|
24 |
except Exception as e:
|
|
|
14 |
try:
|
15 |
#space_ea = space.id.split("/",1)[1]
|
16 |
spaces.append(f'{space.id}<br>')
|
17 |
+
out_html = f'{out_html}<b>{space.id}</b><br>'
|
18 |
file_box = [info.path for info in list_files_info(f'{space.id}', repo_type="dataset")]
|
19 |
for file in file_box:
|
20 |
if file.startswith("prompt_"):
|
21 |
+
out_html=f'{out_html}• {file}<br>'
|
22 |
#print([info.path for info in list_files_info(f'{space.id}', repo_type="dataset")])
|
23 |
#print(space.id)
|
24 |
except Exception as e:
|