Skip to content

Commit

Permalink
fix: fix up #761: JavaとPythonのStyleTypeを埋める (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Dec 16, 2024
1 parent 5c01e9c commit 66582bd
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 66582bd

Please sign in to comment.