Compare commits

...

2 Commits

Author SHA1 Message Date
tuna2134@コマリン親衛隊
61aae68d2d Merge pull request #188 from tuna2134/tuna2134-patch-1
Fix example
2025-02-26 15:03:18 +09:00
tuna2134@コマリン親衛隊
abb40d4d2d Fix example 2025-02-26 14:38:09 +09:00

View File

@@ -12,7 +12,7 @@ def main():
style_vector = model.get_style_vector("amitaro", 0, 1.0) style_vector = model.get_style_vector("amitaro", 0, 1.0)
with open("output.wav", "wb") as f: with open("output.wav", "wb") as f:
f.write( f.write(
model.synthesize("おはようございます。", "amitaro", style_vector, 0.0, 0.5) model.synthesize("おはようございます。", "amitaro", 0, 0, 0.0, 0.5)
) )