-
Notifications
You must be signed in to change notification settings - Fork 116
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
Indentation Bug in trt_server.py
#25
Comments
Not really, because we want to only send one response to the client, at some point we were sending all the responses we add to the That said, https://github.com/collabora/WhisperFusion/blob/main/whisper_live/trt_server.py#L340-L343 this if could be at the same level as the outer if and everything should be fine. |
Thanks for your reply! I understand the logic to only send those responses with |
@DamianB-BitFlipper not sure i understand what you mean when you say
Can you please give an example if you have seen this? |
I wouldn't expect to see this in most cases in practice because the I am aware that the transcriber does not put eos=True at the end of sentences, but rather at prolonged pauses of non-voice input. I am using sentence here as an example purely. |
@DamianB-BitFlipper Okay, so we should never reach this state for a short exchange conversation i.e. we transcribe until EOS=true and at that time the
We only care about |
In the file trt_server.py I suspect that the highlighted lines need to be in the same indentation level as the
while
loop. Otherwise, in its current form it makes no sense to me. Just shining some light on this.The text was updated successfully, but these errors were encountered: