|
2 anni fa | |
---|---|---|
static | 2 anni fa | |
templates | 2 anni fa | |
.gitignore | 2 anni fa | |
README.md | 2 anni fa | |
SparkApi.py | 2 anni fa | |
chat.gif | 2 anni fa | |
chatGPT_Web.py | 2 anni fa | |
chatGPT_Web_test.py | 2 anni fa | |
content.log | 2 anni fa | |
gunicorn_config.py | 2 anni fa | |
nohup.out | 2 anni fa | |
recvChatGPT_V3.py | 2 anni fa | |
requirements.txt | 2 anni fa | |
rpc_test.py | 2 anni fa | |
skills.csv | 2 anni fa | |
skills1.csv | 2 anni fa | |
skills_movie.csv | 2 anni fa |
The project is based on the implementation of two other open source projects, and I would like to thank the authors of these two projects.
Modified the interface of V3.py of acheong08 to connect to the official api.
Refer to the web code of slippersheepig.
git clone "https://github.com/promisevergo/chatGPT_Web.git"
cd chatGPT_Web
pip install -r requirements.txt
config = {
"key": "your openai key",
'proxy': 'you proxy or None', #like "http:127.0.0.1:7890"
'ip': '127.0.0.1', # "127.0.0.1" or your server's internal network ip or your server's public ip
'port': 5000,
}
python chatGPT_Web.py
gunicorn chatGPT_Web:app -c gunicorn_config.py
项目基于其他两个项目开源项目的实现,在此感谢两个项目的作者
修改acheong08的V3.py对接官方api的接口
参考slippersheepig的网页端代码
git clone "https://github.com/promisevergo/chatGPT_Web.git"
cd chatGPT_Web
pip install -r requirements.txt
config = {
"key": "your openai key",
'proxy': 'you proxy or None', #like "http:127.0.0.1:7890"
'ip': '127.0.0.1', # "127.0.0.1" or your server's internal network ip or your server's public ip
'port': 5000,
}
python chatGPT_Web.py
gunicorn chatGPT_Web:app -c gunicorn_config.py