Hair_stable_new / server.py

Commit History

chore(api): remove Bearer auth from upload/get-hairswap/download/logs endpoints
78b2ce5

LogicGoInfotechSpaces commited on

fix: add runtime shim for split_torch_state_dict_into_shards to unblock diffusers import
770b663

LogicGoInfotechSpaces commited on

feat: pass HF token to from_pretrained + map env var for Spaces
28ab21e

LogicGoInfotechSpaces commited on

feat: add detailed error handling and logging to get-hairswap endpoint
d7bae69

LogicGoInfotechSpaces commited on

feat(db): add MongoDB persistence for uploads/results; /logs returns recent docs
f6e7388

LogicGoInfotechSpaces commited on

fix(space): write to /data (writable) instead of /app; ensure /data exists
538ea49

LogicGoInfotechSpaces commited on

chore(api): add root (/) endpoint to confirm initialization on Space
74e29d9

LogicGoInfotechSpaces commited on

fix(space): lazy-load model to avoid import-time errors; pin huggingface-hub 0.14.1 (cached_download)
57338fa

LogicGoInfotechSpaces commited on

feat(api): add FastAPI server with hair swap endpoints and auth; update requirements
83f52c2

LogicGoInfotechSpaces commited on