How do I get both transcript and translated output from single process?
I tried to make some modifications to get both the original language transcript(ex: German) and the transcript that was translated into English. Is this possible without doing 2 separate tasks like below?
model.transcribe("X.mp3", task = "translate") and model.transcribe("X.mp3", task = "transcribe")
Actually, I believe I can get the original transcript even if I use the "translate" task, but how? Is that possible?
Actually, I believe I can get the original transcript even if I use the "translate" task, but how? Is that possible?
Not possible.
import threading?
use threading library
It is not about doing that in separate processes or threads I meant, I don't want to call the model twice for doing the task (making an efficient way to do both things at the same time)