Fix outdated Google + Gemini TTS service docstring examples
This commit is contained in:
@@ -1014,8 +1014,8 @@ class GoogleTTSService(GoogleBaseTTSService):
|
|||||||
|
|
||||||
tts = GoogleTTSService(
|
tts = GoogleTTSService(
|
||||||
credentials_path="/path/to/service-account.json",
|
credentials_path="/path/to/service-account.json",
|
||||||
voice_id="en-US-Chirp3-HD-Charon",
|
settings=GoogleTTSService.Settings(
|
||||||
params=GoogleTTSService.InputParams(
|
voice="en-US-Chirp3-HD-Charon",
|
||||||
language=Language.EN_US,
|
language=Language.EN_US,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -1191,9 +1191,9 @@ class GeminiTTSService(GoogleBaseTTSService):
|
|||||||
|
|
||||||
tts = GeminiTTSService(
|
tts = GeminiTTSService(
|
||||||
credentials_path="/path/to/service-account.json",
|
credentials_path="/path/to/service-account.json",
|
||||||
model="gemini-2.5-flash-tts",
|
settings=GeminiTTSService.Settings(
|
||||||
voice_id="Kore",
|
model="gemini-2.5-flash-tts",
|
||||||
params=GeminiTTSService.InputParams(
|
voice="Kore",
|
||||||
language=Language.EN_US,
|
language=Language.EN_US,
|
||||||
prompt="Say this in a friendly and helpful tone"
|
prompt="Say this in a friendly and helpful tone"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user