From d4bef6e1d4e78f7ed248faec933253d74b286c4b Mon Sep 17 00:00:00 2001 From: Jon Taylor Date: Thu, 16 May 2024 19:38:40 +0100 Subject: [PATCH] enabled open mic for simple chatbot demo --- examples/simple-chatbot/bot_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple-chatbot/bot_runner.py b/examples/simple-chatbot/bot_runner.py index bd19bd04d..df968e67d 100644 --- a/examples/simple-chatbot/bot_runner.py +++ b/examples/simple-chatbot/bot_runner.py @@ -35,7 +35,7 @@ SERVE_STATIC = True STATIC_DIR = "../web-ui/dist" STATIC_ROUTE = "/static" STATIC_INDEX = "index.html" -USE_OPEN_MIC = False # Can the user freely talk, or do they need to wait their turn? +USE_OPEN_MIC = True # Can the user freely talk, or do they need to wait their turn? # ----------------- API ----------------- # @@ -87,7 +87,7 @@ async def start_bot(request: Request) -> JSONResponse: if not room_url: try: - room_url, room_name = create_room() + room_url = create_room() except Exception: raise HTTPException( status_code=500,