msis commited on
Commit
f0128f1
1 Parent(s): 04cea26

adds use_auth_token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="tarteel-ai/whisper-tiny-ar-quran") # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline(model="tarteel-ai/whisper-tiny-ar-quran", use_auth_token=True) # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]