userIdc2024 commited on
Commit
34ea641
·
verified ·
1 Parent(s): 09b5456

Update image_processor.py

Browse files
Files changed (1) hide show
  1. image_processor.py +1 -4
image_processor.py CHANGED
@@ -33,10 +33,7 @@ def process_zip_and_generate_images(
33
 
34
  all_urls = [url for entry in results for url in entry["urls"]]
35
 
36
- new_base = "https://adgen.statics.lookfinity.net/"
37
- modified_urls = [new_base + url.rsplit('/', 1)[-1] for url in all_urls]
38
-
39
- return existing_images + modified_urls if existing_images else modified_urls
40
 
41
  except Exception as e:
42
  logger.exception(f"Global error during processing file: {zip_path}")
 
33
 
34
  all_urls = [url for entry in results for url in entry["urls"]]
35
 
36
+ return existing_images + all_urls if existing_images else all_urls
 
 
 
37
 
38
  except Exception as e:
39
  logger.exception(f"Global error during processing file: {zip_path}")