SalexAI commited on
Commit
63a8204
·
verified ·
1 Parent(s): 4b36c6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def get_album(token: str):
75
  video_list = []
76
  for photo in metadata:
77
  for derivative in photo.get("derivatives", {}).values():
78
- if derivative.get("mediaAssetType") == "video" or derivative.get("type", "").startswith("video"):
79
 
80
  checksum = derivative.get("checksum")
81
  if checksum in urls:
 
75
  video_list = []
76
  for photo in metadata:
77
  for derivative in photo.get("derivatives", {}).values():
78
+ if derivative.get("mediaAssetType") == "video" or derivative.get("type", "").startswith("video"):
79
 
80
  checksum = derivative.get("checksum")
81
  if checksum in urls: