🙏 致谢
感谢项目Bert-VITS2。
感谢chaichaisi作为精神支柱。
感谢丁真对本项目的贡献。
📖 前言
此次是我首次发布插件,写的或有漏缺,或不规范,还望诸位海涵。
目前实测暂未发现bug。如果发现插件bug或有其他建议的请提issue,感激不尽。
别否认,别纳闷,一定还会有下一个丁真。
💿 安装
在开始安装前,请先安装aiofiles。
pip install aiofiles
1. nb-cli安装(推荐)
在bot配置文件同级目录下执行以下命令:
nb plugin install nonebot_plugin_dingzhen
2. pip安装
pip install nonebot_plugin_dingzhen
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_dingzhen')
当然,如果是默认nb-cli创建的nonebot2的话,在bot路径pyproject.toml的[tool.nonebot]的plugins中添加nonebot_plugin_dingzhen即可。
更新版本
nb plugin update nonebot_plugin_dingzhen
🎉 功能
可以通过语音模型生成一段很像丁真的语音。
👉 命令
丁真/丁真说/speak 内容
如丁真说 这是雪豹
PS: 请查看你env中起始符的配置(默认/)。
💡 未来期望
可能会支持修改配置来改变模型生成语音的参数。
📝 更新日志
展开/收起
1.2.5.1
- 参照建议除去了一些不必要的函数参数,并修改了优先级
- 调整了插件结构
- 按照要求禁止在插件目录下保存文件,现改为采用nonebot_plugin_localstore插件的方案。
1.1
- 稳定版
1.0.0 beta
- 首次上线
Metadata
Release files for nonebot-plugin-dingzhen 1.2.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_dingzhen-1.2.5.1.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_dingzhen-1.2.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / nonebot_plugin_dingzhen-1.2.5.1.tar.gz
| Download URL | nonebot_plugin_dingzhen-1.2.5.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b0e21387bd20586cfd20c9b4cf6bfda0180a7f76cad49041a4eb4e28d5b5903
|
|
BLAKE2b-256 checksum How to use checksums |
5f2f5a2d625042d2dcd59176b03b4037035dce80b0bd169b473ae38af6e0f69c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / nonebot_plugin_dingzhen-1.2.5.1-py3-none-any.whl
| Download URL | nonebot_plugin_dingzhen-1.2.5.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f4a8b9335f5d195e83627f75daa97873cb4b30529b9cc06f38ef13187dec78e
|
|
BLAKE2b-256 checksum How to use checksums |
999793f35c9c1d5c6c56e6764c7e365060df9349f9077c0ca96c0212441d9a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for nonebot-plugin-dingzhen 1.2.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.