Omnibus commited on
Commit
848b379
·
1 Parent(s): cf1f709

Update player.py

Browse files
Files changed (1) hide show
  1. player.py +1 -1
player.py CHANGED
@@ -29,7 +29,7 @@ def find_dataset(author=None):
29
  vid_slug=vid_file.split("videos/",1)[1].split(".",1)[0]
30
  print(vid_slug)
31
  try:
32
- if vid_file.endswith(".json"):
33
  r = requests.get(f'https://huggingface.co/datasets/jbilcke-hf/ai-tube-index/raw/main/videos/{vid_slug}.json')
34
  #r = requests.get(f'https://huggingface.co/datasets/jbilcke-hf/ai-tube-index/blob/main/videos/00b4bcda-7b4a-40f8-9833-e490425a7b91.mp4')
35
  print (r.content)
 
29
  vid_slug=vid_file.split("videos/",1)[1].split(".",1)[0]
30
  print(vid_slug)
31
  try:
32
+ if vid_file.endswith(".json"):
33
  r = requests.get(f'https://huggingface.co/datasets/jbilcke-hf/ai-tube-index/raw/main/videos/{vid_slug}.json')
34
  #r = requests.get(f'https://huggingface.co/datasets/jbilcke-hf/ai-tube-index/blob/main/videos/00b4bcda-7b4a-40f8-9833-e490425a7b91.mp4')
35
  print (r.content)