examples: pipelines readability and add LLM assistants after transport

This commit is contained in:
Aleix Conchillo Flaqué
2024-05-17 14:52:51 -07:00
parent de65028061
commit c77db79447
11 changed files with 95 additions and 24 deletions

View File

@@ -95,8 +95,15 @@ async def main(room_url: str, token):
os.path.join(os.path.dirname(__file__), "assets", "waiting.png"),
)
pipeline = Pipeline([transport.input(), image_sync_aggregator,
tma_in, llm, tma_out, tts, transport.output()])
pipeline = Pipeline([
transport.input(),
image_sync_aggregator,
tma_in,
llm,
tts,
transport.output(),
tma_out
])
task = PipelineTask(pipeline)