taranjeet / chatgpt-api
- вторник, 6 декабря 2022 г. в 00:36:44
This repo is unofficial ChatGPT api. It is based on Daniel Gross's WhatsApp GPT
Make sure that python and virual environment is installed.
Create a new virtual environment
# one time
virtualenv -p $(which python3) pyenv
# everytime you want to run the server
source pyenv/bin/activate
pip install -r requirements.txt
playwright install
python server.py
5001
. If you want to change, you can change it in server.py/chat
curl -XGET http://localhost:5001/chat?q=Write%20a%20python%20program%20to%20reverse%20a%20list