Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Feb 4, 2024
1 parent a8f0817 commit dab1726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Example
async def main():
async with Client() as client:
audio_query = await client.create_audio_query(
"こんにちは!", style_id=1
"こんにちは!", speaker=1
)
with open("voice.wav", "wb") as f:
f.write(await audio_query.synthesis(style_id=1))
f.write(await audio_query.synthesis(speaker=1))
if __name__ == "__main__":
Expand Down

0 comments on commit dab1726

Please sign in to comment.