File size: 726 Bytes
767359b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Audio Enhancement API

This repository contains a FastAPI-based audio enhancement model API with the following endpoints:

1. `/status/` : Communicates API status
2. `/prepare/` : Makes necessary preparations (downloading checkpoints, etc.) and initializes model
3. `/upload-audio/` : Upload audio files, save to noisy audio directory
4. `/enhance/` : Initialize model, enhance audio files, save to enhanced audio directory
5. `/download-enhanced/` : Download enhanced audio files

## Setup and Usage

1. Install the requirements:
   ```

   pip install -r app/requirements.txt

   ```

2. Run the API:
   ```

   python -m app.app

   ```

3. Access the API documentation at `http://localhost:8000/docs`