Disable translating in ozen-toolkit

ok it is good
21 Replies
yuro
yuro2y ago
What should I do now? It still keeps translating the text that speaker said in other language.
yuro
yuro2y ago
SECourses
YouTube
Master Deep Voice Cloning in Minutes: Unleash Your Vocal Superpower...
Today, we're going to dive into the cutting-edge world of voice cloning and speech synthesis, a technology that has the potential to revolutionize communication as we know it. We're going to make use of TorToiSe TTS, an incredibly powerful yet user-friendly open-source tool for training and generating speech. And the best part? With TorToiSe TTS...
yuro
yuro2y ago
I've tried using large-v2 model, but still the same result.
Furkan Gözükara SECourses
what you mean by that other language?
yuro
yuro2y ago
the speaker speaks in foreign language all the time and ozen-toolkit or (pyannote i believe) translates it to english and almost everything in the train.txt is in english so basically it transcribes and translates what speaker says
Furkan Gözükara SECourses
i see you want transcription to be another langauge
yuro
yuro2y ago
yes
Furkan Gözükara SECourses
def init_transcribe_pipeline(model_name,device=0):
pipe = pipeline(
"automatic-speech-recognition",
model=model_name,
chunk_length_s=30,
language="en",
device=device,
)
def init_transcribe_pipeline(model_name,device=0):
pipe = pipeline(
"automatic-speech-recognition",
model=model_name,
chunk_length_s=30,
language="en",
device=device,
)
you can try this in this file
yuro
yuro2y ago
yea im looking at this too but it doesnt look like there is a parameter in whisper
Furkan Gözükara SECourses
there are
Furkan Gözükara SECourses
GitHub
whisper/transcribe.py at main · openai/whisper
Robust Speech Recognition via Large-Scale Weak Supervision - whisper/transcribe.py at main · openai/whisper
Furkan Gözükara SECourses
it uses hugging face
yuro
yuro2y ago
No description
Furkan Gözükara SECourses
from transformers import pipeline,AutoProcessor, WhisperForConditionalGeneration
yuro
yuro2y ago
ill try
Furkan Gözükara SECourses
good find
yuro
yuro2y ago
No description
yuro
yuro2y ago
doesnt work unfortunately
Furkan Gözükara SECourses
i tried to find the guy but cant find anywhere maybe can be asked on stackoverflow
yuro
yuro2y ago
thanks for help anyways
Want results from more Discord servers?
Add your server