Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ p = pipeline("automatic-speech-recognition", model=model_name, use_auth_token =
|
|
13 |
#tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
14 |
#model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
15 |
|
16 |
-
|
17 |
def load_data(input_file):
|
18 |
|
19 |
""" Function for resampling to ensure that the speech input is sampled at 16KHz.
|
|
|
13 |
#tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
14 |
#model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
15 |
|
|
|
16 |
def load_data(input_file):
|
17 |
|
18 |
""" Function for resampling to ensure that the speech input is sampled at 16KHz.
|