Refactor app.py for modularity and error handling, and clean up requirements.txt

#18
by smolSWE - opened

Refactored app.py to improve modularity by creating separate modules for image loading (image_loader.py) and processing (image_processor.py). Implemented error handling for image loading from URLs and files, displaying informative messages to the user. Added logging to track image loading, processing, and saving events. Cleaned up requirements.txt by sorting packages, pinning versions, and removing duplicates.

Cannot merge
This branch has merge conflicts in the following files:
  • app.py

Sign up or log in to comment