chatgp使用-(2)中科院学术

发布时间 2023-05-29 21:11:54作者: MKT-porter

中科院学术专业版 ChatGPT

 

 https://link.zhihu.com/?target=https%3A//github.com/binary-husky/chatgpt_academic

 

1. 在 Windows、macOS、Linux 上安装

 

通过 Git 命令,将项目克隆到本地,并进行项目文件夹:

> git clone https://github.com/binary-husky/chatgpt_academic.git
> cd chatgpt_academic

打开 config.py 文件,配置你的 OpenAI API Key 及本地代理。

 

OpenAI API Key 可在这里生成(直接注册不可以 需要一个外国手机号码):

 如何注册

https://www.cnblogs.com/gooutlook/p/17441348.html

最终获取api

 个人账号有使用限制次数

 

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

  

替换

 修改端口

 

创建环境

 

conda create -n gpt python=3.10

 激活环境

activate gpt

 安装依赖

pip install -r requirements.txt -i https://pypi.org/simple

  

 运行

 

python main.py