Commit History

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

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

Delete colorize-662df-firebase-adminsdk-fbsvc-bfd21c77c6.json
6bcce07
verified

LogicGoInfotechSpaces commited on

Improve HF cache directory fallback to use /tmp when /data not writable
67d9b2f

LogicGoInfotechSpaces commited on

Remove hf_cache creation from entrypoint - let Python handle it
4cd67d1

LogicGoInfotechSpaces commited on

Remove chmod commands - /data is already writable in HF Spaces
7396a26

LogicGoInfotechSpaces commited on

Fix model loading: use /data for HF cache directory instead of /app/data
2f136a8

LogicGoInfotechSpaces commited on

fix(runtime): ensure /data is writable for non-root (chmod -R 777 /data)
5c1f200

LogicGoInfotechSpaces commited on

fix(runtime): chown /data to uid 1000 and write firebase creds safely; ensure /data dirs
680dd7d

LogicGoInfotechSpaces commited on

fix(runtime): use /data for uploads/results and write Firebase creds to /data; set DATA_DIR and OMP_NUM_THREADS
8fa7f23

LogicGoInfotechSpaces commited on

fix: write data under /data and move Firebase creds path to /data; mount static from resolved dirs
2999873

LogicGoInfotechSpaces commited on

Deploy: HF cache dir, img2img fallback, auth bypass, root route
7471c96

LogicGoInfotechSpaces commited on

feat(auth): accept Firebase Auth id_token (Authorization Bearer) in addition to App Check; add Postman collection and test script; default MODEL_ID to ControlNet color
2ae242d

LogicGoInfotechSpaces commited on

Optimize CPU performance: reduce inference steps and guidance scale for faster processing
62db9e6

LogicGoInfotechSpaces commited on

Remove unused cv2 import and pin numpy version for compatibility
97034d3

LogicGoInfotechSpaces commited on

Fix Dockerfile: Replace libgl1-mesa-glx with libgl1 for newer Debian
8294547

LogicGoInfotechSpaces commited on

Initial commit: Colorize API with Firebase App Check integration
60c56d7

LogicGoInfotechSpaces commited on