Skip to content

Commit

Permalink
Merge pull request #35 from Yiyuiii/beta
Browse files Browse the repository at this point in the history
0.10.3
  • Loading branch information
Yiyuiii authored Dec 12, 2023
2 parents 03241b0 + c22255c commit a991b77
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ https://github.com/fumiama/MoeGoe/tree/genshin

## :clipboard: 更新日志

#### 2023.12.12 > v0.10.2 :fire:
#### 2023.12.12 > v0.10.3 :fire:

- Fix: 优化了api优先级机制和gradio接口处理机制。

Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_moegoe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def cn_func(
gradioParas = list()
for k in _profileDict["gradio_paralist"]:
gradioParas.append(paras[k])
stat, wav_path = gradioClients.forward(_profileDict["url"], *gradioParas, fn_index=2)
stat, wav_path = gradioClients.forward(_profileDict["url"], *gradioParas, msg, "Text prompt", fn_index=0)
if stat == 'Success':
message = MessageSegment.record(Path(wav_path))
else:
Expand Down
4 changes: 2 additions & 2 deletions nonebot_plugin_moegoe/profile.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.10.2"
version = "0.10.3"
priority = 5

[plugin_meta]
Expand Down Expand Up @@ -50,7 +50,7 @@ regex = "^让(Sua|Mimiru|Arin|Yeonhwa|Yuhwa|Seonbae)(以(.+))?说(?:韩语|韩
[cnapi]
priority = 6
is_gradio = true
gradio_paralist = ["msg", 'name', 'emotion', 'sdp_ratio', 'noise', 'noisew', 'length', 'lang', 'audio_component']
gradio_paralist = ["msg", 'name', 'sdp_ratio', 'noise', 'noisew', 'length', 'lang', 'audio_component']
url = "https://v2.genshinvoice.top/"
# url = "https://genshin.azurewebsites.net/api/speak?format=mp3&text=${text}&id=${id}&length=${length}&noise=${noise}&noisew=${noisew}" # 需要apikey
voice_format = "mp3"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-plugin-moegoe"
version = "0.10.2"
version = "0.10.3"
description = "VITS AI合成原神角色语音"
license = "MIT"
authors = ["yiyuiii <[email protected]>"]
Expand Down

0 comments on commit a991b77

Please sign in to comment.