There was an error while loading. Please reload this page.
1 parent 709fe38 commit 2adf0e6Copy full SHA for 2adf0e6
README.md
@@ -127,7 +127,9 @@ async def main():
127
)
128
await conversation.start()
129
print("Conversation started, press Ctrl+C to end")
130
- signal.signal(signal.SIGINT, lambda _0, _1: conversation.terminate())
+ signal.signal(
131
+ signal.SIGINT, lambda _0, _1: asyncio.create_task(conversation.terminate())
132
+ )
133
while conversation.is_active():
134
chunk = await microphone_input.get_audio()
135
conversation.receive_audio(chunk)
0 commit comments