Skip to content

Commit

Permalink
protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwe committed Feb 22, 2024
1 parent f9029ec commit 866474a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/simple/simple_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ async def run_websocket(uri, audio_queue):


if __name__ == "__main__":
uri = f"ws://{UBERDUCK_API_HOST}?session_id={session}"
ws_proto = "ws" if "localhost" in UBERDUCK_API_HOST else "wss"
uri = f"{ws_proto}://{UBERDUCK_API_HOST}?session_id={session}"
play_startup_sound()

recorder = AudioRecorder()
Expand Down

0 comments on commit 866474a

Please sign in to comment.