- copy
.env.example
to named file.env
- put your openai api key in
.env
valueOPENAI_KEY
- type
virtualenv venv
to create new venv - type
source venv/bin/activate
to activity venv - type
pip install -r requirements.txt
to install requirements package - wait pip install finish
- type
python app.py
- open your browser and type http://127.0.0.1:7860
- the api docs in http://127.0.0.1:7860/?view=api