sanchit-gandhi commited on
Commit
33e130c
·
1 Parent(s): 834894f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
21
  client = Client(API_URL)
22
 
23
  # set up the diarization pipeline
24
- diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=True)
25
 
26
 
27
  def format_string(timestamp):
 
21
  client = Client(API_URL)
22
 
23
  # set up the diarization pipeline
24
+ diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=HF_TOKEN)
25
 
26
 
27
  def format_string(timestamp):