Commit History

Add ai_edit_daily_count tracking to media_clicks collection
6848f57

LogicGoInfotechSpaces commited on

Change ai_edit_last_date to MongoDB Date object format - Store as Date object instead of string format
9a427d9

LogicGoInfotechSpaces commited on

Add ai_edit_complete and ai_edit_last_date to media_clicks collection
c675c5a

LogicGoInfotechSpaces commited on

Update default fallback category ID to 69368fcd2e46bd68ae1889b2
a59cff0

LogicGoInfotechSpaces commited on

Set admin database name to adminPanel for media_clicks collection
0047f3c

LogicGoInfotechSpaces commited on

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

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

Integrate FastAI colorization with Firebase auth and Gradio UI - Replace main.py with FastAI implementation - Add Gradio interface for Space UI - Add Firebase authentication to /colorize endpoint - Add curl examples documentation - Update test.py with User-Agent headers
e4599d1

LogicGoInfotechSpaces commited on

Detect PyTorch models and provide clear error message - Repository contains generator.pt (PyTorch) not FastAI model
0454a91

LogicGoInfotechSpaces commited on

List repository files to find actual model filename instead of guessing
a2d6cd7

LogicGoInfotechSpaces commited on

Add fallback mechanism to manually download and load FastAI model if from_pretrained_fastai fails
80080e1

LogicGoInfotechSpaces commited on

Fix cache directory permissions and OMP_NUM_THREADS warnings - Set HF cache env vars before imports - Set MPLCONFIGDIR for matplotlib - Fix OMP_NUM_THREADS in Dockerfile
6108abf

LogicGoInfotechSpaces commited on

Switch to FastAI GAN colorization model (Hammad712/GAN-Colorization-Model)
5e6062c

LogicGoInfotechSpaces commited on