In the terminal:
pip install -r requirements.txt
python -m spacy download en_core_web_sm
Create a file named .env
in the project
folder, containing:
OPENAI_API_KEY=YOUR_API_KEY
We'll get the API key in the next step.
YOUR_API_KEY
in the .env
file with the API key you just copied.python server.py
to run the server.tsc
index.html
file in your browser