Commit History

Fix empty string handling and support both subCategories and categories schemas
0183b1e

LogicGoInfotechSpaces commited on

Add MongoDB media click logging with per-user category counts
49b5e1e

LogicGoInfotechSpaces commited on

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

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