Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mggger committed Feb 9, 2023
1 parent 04f87f1 commit 1c87b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
pip3 install -r requirements.txt
```

2. 启动程序, 将**${openai_xx}**替换openai api key, **${dd_xx}**替换钉钉的token
2. 启动程序, 将``${openai_xx}`` 替换openai api key, ``${dd_xx}`` 替换钉钉的token

```shell
API_KEY=${openai_xx} DD_TOKEN=${dd_xx} python3 main.py
Expand All @@ -52,7 +52,7 @@ API_KEY=${openai_xx} DD_TOKEN=${dd_xx} python3 main.py

### Docker启动

**${openai_xx}**替换openai api key, **${dd_xx}**替换钉钉的token
``${openai_xx}`` 替换openai api key, ``${dd_xx}`` 替换钉钉的token

```shell
docker run -p 8080:8080 -e API_KEY=${openai_xx} -e DD_TOKEN=${dd_xx} -d registry.cn-hangzhou.aliyuncs.com/public_mgg/chatgpt:latest
Expand Down

0 comments on commit 1c87b5e

Please sign in to comment.