umergohar/ham10000-backend
0
๐ FastAPI Backend on Hugging Face Spaces
This repository hosts a FastAPI backend running inside a Docker container, deployed on Hugging Face Spaces. The app exposes RESTful endpoints for inference, data processing, or any other backend tasks.
๐ง Features
- Built using FastAPI for speed and async support โก
- Deployed using Docker for consistent environments ๐ณ
- Automatically runs on port
7860(default for Spaces)
๐ ๏ธ Local Development
You can run this project locally before deploying:
# Clone the repo
git clone https://huggingface.co/spaces/<username>/<repo-name>
cd <repo-name>
# Build and run Docker container
docker build -t my-fastapi-app .
docker run -p 7860:7860 my-fastapi-app
