cse2000-software-project/kernel
2024-06-10 17:17:37 +02:00
..
spectral test: fix test 2024-06-10 17:17:37 +02:00
tests test: fix test 2024-06-10 17:17:37 +02:00
.gitignore feat: setup mutation testing for python 2024-05-21 22:11:27 +02:00
CONTRIBUTING.md chore: improve docs 2024-05-21 22:23:52 +02:00
Dockerfile chore: rename backend to kernel and frontend to app 2024-05-21 10:18:47 +02:00
mutmut_config.py fix(style): reran precommit on kernel 2024-05-31 14:54:54 +00:00
poetry.lock feat: added whisper as a transcription model 2024-06-10 16:15:15 +02:00
pyproject.toml feat: added whisper as a transcription model 2024-06-10 16:15:15 +02:00
README.md docs: Polished READMEs and CONTRIBUTINGs 2024-05-29 00:17:18 +02:00

Spectral kernel

Run kernel locally

For the kernel we are using uvicorn. To start up the server locally run:

uvicorn dev spectral/main.py

This will allow you to look at the autogenerated OpenAPI documentation at http://127.0.0.1:8000/docs and make calls to the api via http://127.0.0.1:8000/

api keys

To be able to use the deepgram model for the endpoint api/transcription/{model}/{id} you must store an apikey from https://deepgram.com/ in a DG_KEY environment key as follows:

DG_KEY = <your_api_key>