借用电棍otto语音活字印刷生成的纯前端,编写的API服务,支持高并发(由于使用无头浏览器,对cpu要求较高)
- https://github.com/HanaYabuki/otto-hzys
- 修改
otto-hzys/src/components/OttoHzys.vue
的downloadSound
函数-//crunker.download(audioSrc.blob, audioSrc.name); +window.ottoVoice=audioSrc.value;
npm i
npm run serve
pdm install
pdm venv activate
python3 -m otto_hzys_py_tool
见 /otto-hzys-py-tool/tests/__main__.py