Delik commited on
Commit
76a53fa
1 Parent(s): aad12fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from pyannote.audio import Pipeline
5
  # instantiate the pipeline
6
  pipeline = Pipeline.from_pretrained(
7
  "pyannote/speaker-diarization-3.1",
8
- use_auth_token="HUGGINGFACE_ACCESS_TOKEN_GOES_HERE")
9
 
10
  def process_audio(audio):
11
  # Read the uploaded audio file
 
5
  # instantiate the pipeline
6
  pipeline = Pipeline.from_pretrained(
7
  "pyannote/speaker-diarization-3.1",
8
+ use_auth_token=os.environ["api"])
9
 
10
  def process_audio(audio):
11
  # Read the uploaded audio file