Commit History

Fix MongoDB database boolean check - use 'is None' instead of truthiness
a7ddf76

LogicGoInfotechSpaces commited on

Add MongoDB test scripts and documentation (no credentials exposed)
96a6d41

LogicGoInfotechSpaces commited on

Fix Gradio compatibility: remove show_copy_button parameter
2f38f7e

LogicGoInfotechSpaces commited on

Add MongoDB integration for API call logging with timestamps
87f9058

LogicGoInfotechSpaces commited on

Update Firebase initialization to auto-detect credentials file and add setup guide
a0088ec

LogicGoInfotechSpaces commited on

Add Firebase email/password authentication endpoints - Add /auth/register endpoint for user registration - Add /auth/login endpoint with Firebase REST API integration - Add /auth/me endpoint to get current user info - Add /auth/refresh endpoint for token refresh - Integrate with existing Firebase App Check - Add httpx and email-validator dependencies
c85fec3

LogicGoInfotechSpaces commited on

Refactor to use Hugging Face Inference API with fal-ai provider - Replace local model loading with InferenceClient API - Remove heavy SDXL/ControlNet/BLIP model dependencies - Use FLUX.1-Kontext-dev model via API - Keep FastAPI and Firebase authentication - Significantly reduce memory usage (no local models)
ae9bbd0

LogicGoInfotechSpaces commited on

Add memory optimizations for SDXL pipeline - Enable VAE slicing and tiling - Enable attention slicing for UNet and ControlNet - Use sequential CPU offloading for pipeline - Keep BLIP model on CPU to save GPU memory - Add torch.no_grad() and cache clearing - Reduce guidance scale for lower memory usage
807fb92

LogicGoInfotechSpaces commited on

Fix permission errors and environment variables for model loading - Use /tmp directory for writable model storage - Set OMP_NUM_THREADS and cache directories at startup - Add better error handling and permission checks
da9ea7d

LogicGoInfotechSpaces commited on

Add FastAPI version using SDXL + ControlNet for text-guided colorization (from fffiloni)
779884f

LogicGoInfotechSpaces commited on

Improve fallback colorization with better color hints and saturation
a315115

LogicGoInfotechSpaces commited on

Add simple colorization fallback using LAB color space when model fails to load
f40725d

LogicGoInfotechSpaces commited on

Clean up ResNetGenerator architecture - simplified structure
b860aca

LogicGoInfotechSpaces commited on

Fix: Try ResNet first, improve size validation, and skip configs with too many mismatches
845bd8d

LogicGoInfotechSpaces commited on

Improve weight loading verification and skip configs with too many missing keys
ae29148

LogicGoInfotechSpaces commited on

Fix colorization: Add ResNet generator architecture and fix minimum image size to prevent kernel errors
c9d2859

LogicGoInfotechSpaces commited on

Improve PyTorch colorizer: Better preprocessing, output handling, and debugging
ec7bfd1

LogicGoInfotechSpaces commited on

Fix image colorization: Add PyTorch GAN colorizer fallback, update Dockerfile to use main_fastai, and add missing dependencies
0a1a3e1

LogicGoInfotechSpaces commited on

Add guide for finding FastAI-compatible colorization models - Document how to find models with .pkl files - Add instructions for setting MODEL_ID - Note current model limitation
df14637

LogicGoInfotechSpaces commited on

Fix Gradio permission error by setting GRADIO_TEMP_DIR to /tmp
235075d

LogicGoInfotechSpaces commited on

Add fallback logic to handle PyTorch models and find actual model files - Add manual download fallback when from_pretrained_fastai fails - List repository files to find .pkl or .pt files - Provide clear error message for PyTorch models
6960c4e

LogicGoInfotechSpaces commited on

Fix python-multipart version conflict with Gradio - Update python-multipart from 0.0.6 to >=0.0.18 to match Gradio requirements
0517019

LogicGoInfotechSpaces commited on

Fix Gradio/FastAPI compatibility - Upgrade FastAPI to >=0.115.0 - Upgrade Gradio to >=4.44.0 to fix AttributeError
bebfb66

LogicGoInfotechSpaces commited on