From f14102fd29b8effce014880871a7d4af4a8918a8 Mon Sep 17 00:00:00 2001 From: JimmyZhengyz Date: Wed, 30 Jul 2025 13:25:40 +0800 Subject: [PATCH] Update README.md Add 'Configure the model and API key' part --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1c567e4..9895dd3 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,9 @@ As shown above, our method produces results that are more accurate, visually ali ```bash pip install -r requirements.txt ``` - -4. **Set up API Key:** - - Create a file named `doubao_api.txt` in the root directory. - - Paste your Doubao API key into this file. +4. **Configure the model and API key** + - ***Choose a generation model***: Set the desired model in `block_parsor.py` and `html_generator.py`. Supported options: Doubao(default), Qwen, GPT, Gemini. + - ***Add the API key***: Create a plain-text file (`doubao_api.txt`, `qwen_api.txt`, `gpt_api.txt`, `gemini_api.txt`) in the project root directory that corresponds to your selected model, and paste your API key inside. ## Usage