Spaces:
Running
Running
Update audio_to_text.py
Browse files- audio_to_text.py +1 -0
audio_to_text.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
2 |
import torchaudio
|
|
|
3 |
|
4 |
|
5 |
# load model and processor
|
|
|
1 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
2 |
import torchaudio
|
3 |
+
import torch
|
4 |
|
5 |
|
6 |
# load model and processor
|