Chelsea / audio2text /init.py
CineAI's picture
41727469634d6f6e6b65793a32302e30332e32343a31383236
7722c06 verified
raw
history blame
466 Bytes
from transformers import WhisperProcessor, WhisperForConditionalGeneration
# ArticMonkey:19.03.24:1700 example of version name in plaintext will be convert into hex using this site -> https://magictool.ai/tool/text-to-hex-converter/
# Here ArticMonkey is name of version and rest of all is data and time
checkpoint = "openai/whisper-base"
processor = WhisperProcessor.from_pretrained(checkpoint)
model = WhisperForConditionalGeneration.from_pretrained(checkpoint)