Add background task for image cleanup and implement request count-based garbage collection 5571c62 pediot commited on Oct 12, 2025
remove analyze_model_parameters function and add delete_images function for managing image resources. 31e72fa pediot commited on Oct 12, 2025
Update requirements.txt to upgrade torch to version 2.6.0 and add runtime.txt to specify Python version 3.9.6. 674915b pediot commited on Aug 2, 2025
Refactor app.py to comment out unused security-related code for cleaner implementation and potential future use. 67ff13f pediot commited on May 21, 2025
Refactor encoder.py to remove debug print statements and ensure inputs are moved to the correct device for text and image encoding. ab3f0c3 pediot commited on May 21, 2025
Update requirements.txt to add numpy version 1.24.3 and ensure consistent dependency management. 5376b4a pediot commited on May 21, 2025
Update Dockerfile to set HF_TOKEN as an environment variable and remove debug print statements from encoder.py for cleaner code. 895a755 pediot commited on May 21, 2025
Add debug print statement in encoder.py to log HF_TOKEN for troubleshooting purposes. 074eb54 pediot commited on May 21, 2025
Update requirements.txt to pin specific versions for dependencies and reorder entries for clarity. 4b8fc3b pediot commited on May 21, 2025
Update requirements.txt for version pinning and add new dependencies; refactor model initialization in encoder.py to streamline device handling. e5ee3a4 pediot commited on May 21, 2025
Refactor model initialization in encoder.py to use to_empty for improved device handling. 5aab199 pediot commited on May 21, 2025
Update device mapping in encoder.py to set device_map to None for improved flexibility in model initialization. 2eb56eb pediot commited on May 21, 2025
Add debug print statements in encoder.py for processor and model initialization c818587 pediot commited on May 21, 2025
Fix model initialization in encoder.py to handle exceptions more gracefully and ensure proper device mapping. d21f097 pediot commited on May 21, 2025
Refactor Dockerfile and encoder.py to improve environment variable handling and model initialization c54b3d1 pediot commited on May 21, 2025