backend_max_speakers

#14
by mduppes - opened

Backend changes to add a MAX_SPEAKERS env variable to limit the number of concurrent speakers (plan is to set this to 1) so the space could be more open.

Frontend changes: https://huggingface.co./spaces/facebook/seamless-streaming/discussions/15

AI at Meta org

Thanks Mark! Just a small nit, could you check during server startup (rather than during streaming) that if MAX_SPEAKERS is not None, that int(MAX_SPEAKERS) does not throw a ValueError? Otherwise lgtm :)

annasun28 changed pull request status to open
AI at Meta org

Updated to validate int(MAX_SPEAKERS) on startup, will merge this in with the frontend.

mduppes changed pull request status to merged

Sign up or log in to comment