Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vebys/python-web-chatgpt

Repository files navigation

基于Django开发的网页版ChatGPT

使用前需要先获取openai的api密钥,具体方法自行百度

使用教程

1、下载本项目;

2、安装python3;

3、进入项目目录运行 pip install -r requirements.txt 安装Django 和 openai;

4、把api密钥填入chatgpt_test/views.py文件中的openai.api_key = '你的api密钥'的位置;

5、启动项目 python3 manage runserver 127.0.0.1:8001

6、项目运行后访问 python3 manage runserver http://127.0.0.1:8001/chat/

效果展示

static/test.jpg

About

网页版chatgpt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published