Spaces:
Runtime error
Runtime error
Vaibhav Srivastav
commited on
Commit
•
e3fed65
1
Parent(s):
b8af00e
adding kenlm to requirements
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import nltk
|
2 |
import librosa
|
3 |
import torch
|
|
|
4 |
import gradio as gr
|
5 |
from pyctcdecode import build_ctcdecoder
|
6 |
from transformers import Wav2Vec2Processor, AutoModelForCTC
|
|
|
1 |
import nltk
|
2 |
import librosa
|
3 |
import torch
|
4 |
+
import kenlm
|
5 |
import gradio as gr
|
6 |
from pyctcdecode import build_ctcdecoder
|
7 |
from transformers import Wav2Vec2Processor, AutoModelForCTC
|
requirements.txt
CHANGED
@@ -2,4 +2,5 @@ nltk
|
|
2 |
transformers
|
3 |
torch
|
4 |
librosa
|
5 |
-
pyctcdecode
|
|
|
|
2 |
transformers
|
3 |
torch
|
4 |
librosa
|
5 |
+
pyctcdecode
|
6 |
+
pypi-kenlm
|