generativeai commited on
Commit
a8b88e7
1 Parent(s): 57fa999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def check_image_similarity(main_image_folder, compare_image_folder):
51
  return result
52
 
53
  def compare_photoshoot_crops(photo_shoot_id, main_image_folder, compare_image_folder):
54
- if compare_image_key == "":
55
  folder = "PhotoShoots/" + str(photo_shoot_id) + "/Croppeds"
56
  files = AwsService.get_files_from_s3(os.environ.get('AWS_S3_BUCKET'), folder)
57
  results = []
 
51
  return result
52
 
53
  def compare_photoshoot_crops(photo_shoot_id, main_image_folder, compare_image_folder):
54
+ if compare_image_folder == "":
55
  folder = "PhotoShoots/" + str(photo_shoot_id) + "/Croppeds"
56
  files = AwsService.get_files_from_s3(os.environ.get('AWS_S3_BUCKET'), folder)
57
  results = []