Spaces:
Runtime error
Runtime error
on1onmangoes
commited on
Commit
•
6185734
1
Parent(s):
7a90588
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
22 |
# set up the diarization pipeline
|
23 |
#diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
|
24 |
#diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=HF_TOKEN)
|
25 |
-
diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1, use_auth_token=HF_TOKEN)
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
diarization_pipeline.to(torch.device("cuda"))
|
|
|
22 |
# set up the diarization pipeline
|
23 |
#diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
|
24 |
#diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=HF_TOKEN)
|
25 |
+
diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1", use_auth_token=HF_TOKEN)
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
diarization_pipeline.to(torch.device("cuda"))
|