CineAI commited on
Commit
3e4be91
1 Parent(s): 043d4e9

41727469634d6f6e6b65793a31392e30332e32343a31373030

Browse files
Files changed (1) hide show
  1. audio2text/__init__.py +8 -0
audio2text/__init__.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from transformers import WhisperProcessor, WhisperForConditionalGeneration
2
+
3
+ # 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/
4
+ # Here ArticMonkey is name of version and rest of all is data and time
5
+
6
+ checkpoint = "openai/whisper-base"
7
+ processor = WhisperProcessor.from_pretrained(checkpoint)
8
+ model = WhisperForConditionalGeneration.from_pretrained(checkpoint)