Spaces:
Configuration error
Configuration error
Create Openai whisper smalll.data
Browse files
Openai whisper smalll.data
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Load model directly
|
| 2 |
+
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
|
| 3 |
+
|
| 4 |
+
processor = AutoProcessor.from_pretrained("openai/whisper-small")
|
| 5 |
+
model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-small")
|