Spaces:
Sleeping
Sleeping
vineelpratap
commited on
Commit
•
0a6cd62
1
Parent(s):
a5b1a23
Update asr.py
Browse files
asr.py
CHANGED
@@ -2,6 +2,7 @@ import librosa
|
|
2 |
from transformers import Wav2Vec2ForCTC, AutoProcessor
|
3 |
import torch
|
4 |
import json
|
|
|
5 |
|
6 |
from huggingface_hub import hf_hub_download
|
7 |
from torchaudio.models.decoder import ctc_decoder
|
|
|
2 |
from transformers import Wav2Vec2ForCTC, AutoProcessor
|
3 |
import torch
|
4 |
import json
|
5 |
+
import numpy as np
|
6 |
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
from torchaudio.models.decoder import ctc_decoder
|