Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
|
12 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
13 |
|
14 |
def load_data(input_file):
|
15 |
-
|
16 |
#reading the file
|
17 |
speech, sample_rate = librosa.load(input_file)
|
18 |
#make it 1-D
|
|
|
12 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
13 |
|
14 |
def load_data(input_file):
|
|
|
15 |
#reading the file
|
16 |
speech, sample_rate = librosa.load(input_file)
|
17 |
#make it 1-D
|