metadata
title: Hair Stable New
emoji: 💻
colorFrom: purple
colorTo: pink
sdk: docker
sdk_version: 5.46.1
app_file: app.py
pinned: false
license: mit
short_description: hair stable
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Hair_stable_new
API (FastAPI)
Base URL (Space):
Bearer Token: logicgo@123
Endpoints:
- GET /health
- POST /upload (form-data: image=File) [Bearer]
- POST /get-hairswap (JSON) [Bearer]
- GET /download/{filename} [Bearer]
- GET /logs [Bearer]
Run locally:
python3 -m uvicorn server:app --host 0.0.0.0 --port 7861
On Hugging Face Spaces (Docker):
- Space type: Docker
- This repo includes a Dockerfile which starts the FastAPI app on port 7860.