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

Translation not working with Turbo #310

Open
andreclerigo opened this issue Dec 25, 2024 · 0 comments
Open

Translation not working with Turbo #310

andreclerigo opened this issue Dec 25, 2024 · 0 comments

Comments

@andreclerigo
Copy link

When using the following code I only see the transcription in Portuguese, even though I set the source language as PT and the translate flag to true.

from whisper_live.client import TranscriptionClient

# Instantiate the client
client = TranscriptionClient(
    host="localhost",
    port=9090, 
    lang="pt",
    translate=True,
    model="turbo",
    use_vad=False,
    save_output_recording=False,
    output_recording_filename="./output_recording.wav",
    output_transcription_path="./output.srt",
)

# Start the transcription client
client()

What am I missing in this configuration? What I want to achieve is talking in PT and getting the transcription in EN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant