feat: 添加 .env.example 文件

This commit is contained in:
2025-12-16 23:06:27 +08:00
parent 24411dfbbb
commit 2402c837e5
2 changed files with 10 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ pip install requests ddddocr lxml python-dotenv lxml openai
```
### 免输入密码
- 在main.py文件同级别目录下创建`.env`文件
- `.env.example`复制为".env"
- 在文件中添加如下内容
```sh
YURU_ACCOUNT=你的用户名
@@ -51,6 +51,7 @@ pip install requests ddddocr lxml python-dotenv lxml openai
DEEPSEEK_API_KEY=你的 deepseek api 密钥
DOUBAO_API_KEY=你的 豆包 api 密钥
KIMI_API_KEY=你的 KIMI api 密钥
```
- 运行`main.py`文件
```sh