Skip to content

Commit f817c95

Browse files
authored
Fix example code
1 parent b130abf commit f817c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Example
3838
async def main():
3939
async with Client() as client:
4040
audio_query = await client.create_audio_query(
41-
"こんにちは!", style_id=1
41+
"こんにちは!", speaker=1
4242
)
4343
with open("voice.wav", "wb") as f:
44-
f.write(await audio_query.synthesis(style_id=1))
44+
f.write(await audio_query.synthesis(speaker=1))
4545
4646
4747
if __name__ == "__main__":

0 commit comments

Comments
 (0)