Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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="
|
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
|