Manyue-DataScientist commited on
Commit
da59af0
·
verified ·
1 Parent(s): 935113b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def load_models():
13
  try:
14
  # Updated to 3.1 with parameters
15
  diarization = Pipeline.from_pretrained(
16
- "pyannote/speaker-diarization@3.1",
17
  use_auth_token=st.secrets["hf_token"]
18
  ).instantiate({
19
  "onset": 0.3,
 
13
  try:
14
  # Updated to 3.1 with parameters
15
  diarization = Pipeline.from_pretrained(
16
+ "pyannote/speaker-diarization-3.1",
17
  use_auth_token=st.secrets["hf_token"]
18
  ).instantiate({
19
  "onset": 0.3,