inworld: updated InworldHttpTTSService initialization
This commit is contained in:
@@ -60,9 +60,11 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
|||||||
|
|
||||||
tts = InworldHttpTTSService(
|
tts = InworldHttpTTSService(
|
||||||
api_key=os.getenv("INWORLD_API_KEY", ""),
|
api_key=os.getenv("INWORLD_API_KEY", ""),
|
||||||
voice_id="Ashley",
|
|
||||||
model="inworld-tts-1",
|
|
||||||
aiohttp_session=session,
|
aiohttp_session=session,
|
||||||
|
params=InworldHttpTTSService.InputParams(
|
||||||
|
voice_id="Ashley",
|
||||||
|
model="inworld-tts-1-max",
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))
|
llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))
|
||||||
|
|||||||
Reference in New Issue
Block a user