mirror of
https://github.com/leigest519/ScreenCoder.git
synced 2026-02-12 17:52:47 +00:00
Update README.md
Add 'Configure the model and API key' part
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user