This repo serves as the backend for the TXT2TXN project.
TXT2TXN is a collaboration between Circle and Blockchain at Berkeley, in particular Niall Mandal.
- Set up virtual python environment.
python3 -m venv venv
- Activate virtual environment.
source venv/bin/activate
- Install dependencies.
pip install -r requirements.txt
- Create and populate a .env file.
cp .env.example .env
Then add OpenAI key to .env file
Execute the following to run the service:
uvicorn main:app --reload