English to Hindi translation not working #1582
Replies: 3 comments 2 replies
-
whisper cannot translate from English to a non-English language. The |
Beta Was this translation helpful? Give feedback.
-
did you find any solution for this?? |
Beta Was this translation helpful? Give feedback.
-
I'm using another model to translate the text which I get from whisper |
Beta Was this translation helpful? Give feedback.
-
Here is my code
import whisper
model = whisper.load_model("large")
result = model.transcribe("sou_eng.wav",task = "translate", language = "hindi")
print(result["text"])
Output:
Hi, Hello, My name is Suv, I am from Agartala and currently working here in Delhi. Where are you from?
But it should translate like the following
हाय, हैलो, मेरा नाम सुवी है, मैं अगरतला से हूँ और वर्तमान में दिल्ली में काम कर रहा हूँ। आप कहाँ के निवासी हैं?
Beta Was this translation helpful? Give feedback.
All reactions