This server helps to preprocess audio data before passing the data over to a proof generation cluster.
The server uses flask and celery.
docker-compose up
Test getting proof from a worker
curl -F audio=@test_files/angry.wav localhost:5000/prove -
Run
poetry env use 3.9 -
Run
poetry shell, the previous command should initiate a virtual environment shell for you. Otherwise, run this line. -
Run
poetry install -
Rename
api_key.py.exampletoapi_key.pyand get the relevant variables. -
Run
python app.pyto run a test upload. -
Run
flask runto start the development server.