Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket Disconnects After Inactivity in Live Transcribe #277

Open
vqndev opened this issue Jan 25, 2025 · 0 comments
Open

WebSocket Disconnects After Inactivity in Live Transcribe #277

vqndev opened this issue Jan 25, 2025 · 0 comments

Comments

@vqndev
Copy link

vqndev commented Jan 25, 2025

Issue Description

I successfully got the live transcription working. However, once I stop talking, the connection to the WebSocket disconnects. I attempted to modify the environment variables in my docker-compose.yml, but they don't seem to have any effect. Despite these changes, the disconnection issue persists.

Is there something I might be misconfiguring, or are there additional steps required to keep the WebSocket connection active?

Docker Compose Configuration

services:
  faster-whisper-server-cuda:
    image: ghcr.io/speaches-ai/speaches:latest-cuda
    ports:
      - 8000:8000
    container_name: speaches
    environment:
      - WHISPER__TTL=-1
      - WHISPER__LOCAL_FILES_ONLY=False
      - MAX_NO_DATA_SECONDS=60
      - MAX_INACTIVITY_SECONDS=60
      - MIN_DURATION=60
      - INACTIVITY_WINDOW_SECONDS=60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant