1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-06 17:50:25 +08:00

feat: model embed author

This commit is contained in:
源文雨
2024-06-03 17:07:13 +09:00
parent ccecac6133
commit 07c66d3676
4 changed files with 309 additions and 291 deletions

View File

@@ -38,18 +38,20 @@ def show_model_info(cpt, show_long_id=False):
)
txt = f"""{i18n("模型名")}: %s
{i18n("封装时间")}: %s
{i18n("模型作者")}: %s
{i18n("信息")}: %s
{i18n("采样率")}: %s
{i18n("音高引导(f0)")}: %s
{i18n("版本")}: %s
{i18n("ID(短)")}: %s
{i18n("ID(长)")}: %s""" % (
cpt.get("name", "None"),
cpt.get("name", i18n("Unknown")),
datetime.fromtimestamp(float(cpt.get("timestamp", 0))),
cpt.get("info", "None"),
cpt.get("sr", "None"),
cpt.get("author", i18n("Unknown")),
cpt.get("info", i18n("None")),
cpt.get("sr", i18n("Unknown")),
i18n("") if cpt.get("f0", 0) == 1 else i18n(""),
cpt.get("version", "None"),
cpt.get("version", i18n("None")),
id,
h,
)