Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
import gradio as gr
|
7 |
from transformers import Wav2Vec2Tokenizer, Wav2Vec2ForCTC
|
8 |
nltk.download("punkt")
|
9 |
-
#Loading the model
|
10 |
model_name = "facebook/wav2vec2-base-960h"
|
11 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)#omdel_name
|
12 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
|
|
6 |
import gradio as gr
|
7 |
from transformers import Wav2Vec2Tokenizer, Wav2Vec2ForCTC
|
8 |
nltk.download("punkt")
|
9 |
+
#Loading the model
|
10 |
model_name = "facebook/wav2vec2-base-960h"
|
11 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)#omdel_name
|
12 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|