SaladSlayer00 commited on
Commit
a6e78ad
1 Parent(s): a401327

the reqs updated again

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,8 +1,10 @@
1
  from transformers import pipeline
2
  import gradio as gr
 
3
 
4
- pipe = pipeline(model="SaladSlayer00/another_local")
5
 
 
 
6
 
7
  def transcribe(rec=None, file=None):
8
  if rec is not None:
 
1
  from transformers import pipeline
2
  import gradio as gr
3
+ from huggingface_hub import HfFolder
4
 
 
5
 
6
+ token = HfFolder.get_token()
7
+ pipe = pipeline(model="SaladSlayer00/another_local", token='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')
8
 
9
  def transcribe(rec=None, file=None):
10
  if rec is not None: