Omnibus commited on
Commit
269ba81
·
1 Parent(s): e10393a

Update player.py

Browse files
Files changed (1) hide show
  1. player.py +3 -1
player.py CHANGED
@@ -26,8 +26,10 @@ def find_dataset(author=None):
26
  for vid_file in ai_tube_box:
27
  print(vid_file)
28
 
29
- if vid_file.split(".",1)[0] == prompt_file.split("prompt_",1)[1].split(".",1)[0]:
30
  print("yes")
 
 
31
 
32
  #print([info.path for info in list_files_info(f'{space.id}', repo_type="dataset")])
33
  #print(space.id)
 
26
  for vid_file in ai_tube_box:
27
  print(vid_file)
28
 
29
+ if vid_file.split("videos/",1)[1].split(".",1)[0] == prompt_file.split("prompt_",1)[1].split(".",1)[0]:
30
  print("yes")
31
+ out_html=f'{out_html}<pre> + {vid_file}</pre>'
32
+
33
 
34
  #print([info.path for info in list_files_info(f'{space.id}', repo_type="dataset")])
35
  #print(space.id)