rajistics commited on
Commit
a2d7e33
1 Parent(s): 2044612

added auth token

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):