Skip to content
Discussion options

You must be logged in to vote

Two details in that command explain the missing output:

  1. 0.0.0.0 is a server bind address, not the address a client should connect to. Use 127.0.0.1 when Docker publishes the port on the same machine, or use the Docker host's reachable IP/DNS name.
  2. offline mode expects a finite utterance and produces its result after the client sends an end-of-speech message. The bundled microphone loop is continuous, so it does not create that final boundary. Use online or 2pass for a live microphone.

With the current client, install PyAudio and websockets, grant the Python process microphone permission, and omit --audio_in:

python -m pip install pyaudio websockets

python runtime/python/websocket/funa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LauraGPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants