Spaces:
Running
on
Zero
Running
on
Zero
Update whisper.py
Browse files- whisper.py +1 -1
whisper.py
CHANGED
@@ -17,7 +17,7 @@ CKPT = "projecte-aina/whisper-large-v3-tiny-caesar"
|
|
17 |
BATCH_SIZE = 1
|
18 |
model = WhisperForConditionalGeneration.from_pretrained(MODEL_NAME, torch_dtype=torch_dtype).to(device)
|
19 |
processor = WhisperProcessor.from_pretrained(MODEL_NAME)
|
20 |
-
pipeline_vad = Pipeline.from_pretrained("pyannote/
|
21 |
threshold = 10000
|
22 |
segments_dir = "."
|
23 |
|
|
|
17 |
BATCH_SIZE = 1
|
18 |
model = WhisperForConditionalGeneration.from_pretrained(MODEL_NAME, torch_dtype=torch_dtype).to(device)
|
19 |
processor = WhisperProcessor.from_pretrained(MODEL_NAME)
|
20 |
+
pipeline_vad = Pipeline.from_pretrained("./pyannote/config.yaml")
|
21 |
threshold = 10000
|
22 |
segments_dir = "."
|
23 |
|