File size: 934 Bytes
2f7e617
 
 
 
 
 
 
 
 
 
 
dde4124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
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)