Jainam Jain commited on
Commit
3215a1b
·
1 Parent(s): 61f9dde
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def verify_image(url1):
30
  flag = False
31
  # url1 = "https://api.time.com/wp-content/uploads/2023/04/shah-rukh-khan-time100-2023-1.jpg"
32
  for file in files:
33
- if file.name.endswith(".jpg"):
34
  # print(file.name)
35
  url = storage.child(f"{file.name}").get_url(None)
36
  # print(url)
 
30
  flag = False
31
  # url1 = "https://api.time.com/wp-content/uploads/2023/04/shah-rukh-khan-time100-2023-1.jpg"
32
  for file in files:
33
+ if (file.name.endswith(".jpg") or file.name.endswith(".jpeg")) :
34
  # print(file.name)
35
  url = storage.child(f"{file.name}").get_url(None)
36
  # print(url)