Spaces:
Sleeping
Sleeping
vrajshroff
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
|
7 |
pipeline = Pipeline.from_pretrained(
|
8 |
"pyannote/speaker-diarization-3.0",
|
9 |
-
use_auth_token=os.getenv("HF_AUTH_TOKEN")
|
10 |
pipeline.to(torch.device("cuda" if torch.cuda.is_available() else "cpu"))
|
11 |
|
12 |
def process_audio(audio_file):
|
|
|
6 |
|
7 |
pipeline = Pipeline.from_pretrained(
|
8 |
"pyannote/speaker-diarization-3.0",
|
9 |
+
use_auth_token=os.getenv("HF_AUTH_TOKEN"))
|
10 |
pipeline.to(torch.device("cuda" if torch.cuda.is_available() else "cpu"))
|
11 |
|
12 |
def process_audio(audio_file):
|