Spaces:
Paused
Paused
| title: HemoVDB | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: red | |
| sdk: docker | |
| pinned: false | |
| license: apache-2.0 | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # π FastAPI Application | |
| This is a RESTful API built using [FastAPI](https://fastapi.tiangolo.com/) | |
| ## π οΈ Installation | |
| 1. **Clone the repository**: | |
| > git clone https://huggingface.co/spaces/Adhin/HemoVDB | |
| 1. **Create a virtual environment**: | |
| > python -m venv venv | |
| On Windows: venv\Scripts\activate | |
| 1. **Install dependencies**: | |
| pip install -r requirements.txt | |
| ## π Running the Application | |
| > uvicorn main:app --reload | |
| By default, the app will be available at `http://127.0.0.1:8000/`. | |
| ## π API Documentation | |
| FastAPI provides two interactive API docs out-of-the-box: | |
| - Swagger UI: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) | |
| - ReDoc: [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) |