Create audio2text/a2t.py
Browse files- audio2text/a2t.py +7 -0
audio2text/a2t.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import librosa
|
2 |
+
import torch
|
3 |
+
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
4 |
+
|
5 |
+
class A2T:
|
6 |
+
def __init__(self, ):
|
7 |
+
|