AudioGeneator/README.md

12 lines
396 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 安装依赖
``` shell
pip install zhipuai
```
### 使用
1. 打开text_geneator.py修改相关keywords运行程序后所生成的文本会存储在text.txt中
2. 运行audio_geneator.py即可生成音频
text_geneator.py程序打开文本的方式为“a”多次运行会把文本追加写入text.txt若不想要追加写入记得每次运行完之后清空text.txt