Sharfraz commited on
Commit
a08a4b1
·
verified ·
1 Parent(s): f35f8d1
Files changed (1) hide show
  1. 1 +7 -0
1 ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from transformers import pipeline
2
+
3
+ whisper_model = pipeline(
4
+ "automatic-speech-recognition",
5
+ model="openai/whisper-small",
6
+ framework="pt" # Force PyTorch backend
7
+ )