Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoman1221 committed Feb 12, 2023
1 parent 8d95e2c commit 9f6ffb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Vercel-ChatGPT
在Vercel运行的ChatGPT
# 一键部署
<a href="https://vercel.com/new/project?template=https://github.com/xiaoman1221/Vercel-ChatGPT"><img src="https://vercel.com/button"></a>

### 使用方法

首先申请密钥:https://beta.openai.com/account/api-keys

Clone 本项目

更改:/api/index.php第二行的key

**为了您的key安全,~~给个star就行~~,别fork这个项目,建议新建一个私人仓库**
首先申请密钥:https://beta.openai.com/account/api-keys
Clone 本项目
更改:/api/index.php第二行的key
**为了您的key安全,~~给个star就行~~,别fork这个项目,建议新建一个私人仓库**

```bash
git clone https://github.com/xiaoman1221/Vercel-ChatGPT.git
Expand All @@ -26,7 +24,7 @@ git remote add origin <你的GitHub地址>
git push -u origin main
```

### 本程序使用GNU协议

### 关注一下我的工作室(?
**本程序使用GNU协议**
Vercel限制:Free版本function响应超时时间为10秒,也就是说答案过长会显示504,建议在本地部署

小声BB:要不要关注一下我的工作室(https://studio.yhdzz.cn)
1 change: 0 additions & 1 deletion api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ function posturl($url, $data)
});
$.ajax({
cache: true,
timeout: 9999,
type: "POST",
url: "/index.php",
data: {
Expand Down

0 comments on commit 9f6ffb9

Please sign in to comment.