README: fix code indentation

This commit is contained in:
Aleix Conchillo Flaqué
2024-05-13 10:08:09 -07:00
parent 3502ef4745
commit 5600fc49f1

View File

@@ -96,8 +96,9 @@ async def main():
participant_name = participant["info"]["userName"] or '' participant_name = participant["info"]["userName"] or ''
# Queue a TextFrame that will get spoken by the TTS service (Eleven Labs) # Queue a TextFrame that will get spoken by the TTS service (Eleven Labs)
await task.queue_frames([TextFrame(f"Hello there, {participant_name}!"), EndFrame()]) await task.queue_frames([TextFrame(f"Hello there, {participant_name}!"), EndFrame()])
# Run the pipeline task
await runner.run(task) # Run the pipeline task
await runner.run(task)
if __name__ == "__main__": if __name__ == "__main__":
asyncio.run(main()) asyncio.run(main())