Skip to content

Commit

Permalink
fix: fix up #761: JavaとPythonのStyleTypeを埋める
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Dec 14, 2024
1 parent 5c01e9c commit d01dc27
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,19 @@ public enum StyleType {
@SerializedName("talk")
@Expose
TALK,

/** 歌唱音声合成用のクエリの作成が可能。 */
@SerializedName("singing_teacher")
@Expose
SINGING_TEACHER,

/** 歌唱音声合成が可能。 */
@SerializedName("frame_decode")
@Expose
FRAME_DECODE,

/** 歌唱音声合成用のクエリの作成と歌唱音声合成が可能。 */
@SerializedName("sing")
@Expose
SING,
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ class StyleType(str, Enum):
TALK = "talk"
"""音声合成クエリの作成と音声合成が可能。"""

SINGING_TEACHER = "singing_teacher"
"""歌唱音声合成用のクエリの作成が可能。"""

FRAME_DECODE = "frame_decode"
"""歌唱音声合成が可能。"""

SING = "sing"
"""歌唱音声合成用のクエリの作成と歌唱音声合成が可能。"""


@pydantic.dataclasses.dataclass
class StyleMeta:
Expand Down

0 comments on commit d01dc27

Please sign in to comment.