on1onmangoes commited on
Commit
93471da
1 Parent(s): f1a1aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ from gradio_client import Client
17
  from transformers.pipelines.audio_utils import ffmpeg_read
18
 
19
  HF_TOKEN = "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"
20
-
21
 
22
  # set up the diarization pipeline
23
  diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
 
17
  from transformers.pipelines.audio_utils import ffmpeg_read
18
 
19
  HF_TOKEN = "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"
20
+ HF_TOKEN = os.environ.get("HF_TOKEN")
21
 
22
  # set up the diarization pipeline
23
  diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)