Skip to content

i want to send results of colour your caption to client through websocket i don't know how. #154

Answered by juanmc2005
jarvisx17 asked this question in Q&A
Discussion options

You must be logged in to vote

Then you can run:

diart.serve 0.0.0.0 --port 7007 --pipeline SpeakerAwareTranscription --whisper small --language en

and in another console/machine:

diart.client microphone --host <server-address> --port 7007

You should see speaker-labeled transcriptions printed by the client (e.g. "[speaker0] Hello [speaker1] Hi!")

In python, you can import the pipeline as:

from diart.pipelines import SpeakerAwareTranscription, SpeakerAwareTranscriptionConfig

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jarvisx17
Comment options

@juanmc2005
Comment options

@juanmc2005
Comment options

Answer selected by jarvisx17
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