Spaces:
Build error
Build error
added auth token
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ import gradio as gr
|
|
| 5 |
import spacy
|
| 6 |
nlp = spacy.load('en_core_web_sm')
|
| 7 |
|
|
|
|
|
|
|
| 8 |
##Speech Recognition
|
| 9 |
asr = pipeline("automatic-speech-recognition", "facebook/wav2vec2-base-960h")
|
| 10 |
def transcribe(audio):
|
|
|
|
| 5 |
import spacy
|
| 6 |
nlp = spacy.load('en_core_web_sm')
|
| 7 |
|
| 8 |
+
auth_token = os.environ.get("HF_Token")
|
| 9 |
+
|
| 10 |
##Speech Recognition
|
| 11 |
asr = pipeline("automatic-speech-recognition", "facebook/wav2vec2-base-960h")
|
| 12 |
def transcribe(audio):
|