Chelsea / audio2text /__init__.py
CineAI's picture
41727469634d6f6e6b65793a31392e30332e32343a31373030
3e4be91 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)