Katsuya Oda commited on
Commit
6b48cee
1 Parent(s): acaa496

fix: fork pyannote segmentation

Browse files
config.yaml CHANGED
@@ -5,7 +5,7 @@ pipeline:
5
  embedding: speechbrain/spkrec-ecapa-voxceleb
6
  embedding_batch_size: 32
7
  embedding_exclude_overlap: true
8
- segmentation: pyannote_segmentation_2022_07_pythorch_model.bin
9
  segmentation_batch_size: 32
10
 
11
  params:
 
5
  embedding: speechbrain/spkrec-ecapa-voxceleb
6
  embedding_batch_size: 32
7
  embedding_exclude_overlap: true
8
+ segmentation: hicustomer/pyannote-segmentation
9
  segmentation_batch_size: 32
10
 
11
  params:
handler_test ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ set -ex
4
+
5
+ curl https://zylp8v3g6by230m9.us-east-1.aws.endpoints.huggingface.cloud \
6
+ -X POST --data-binary '@handler_test.wav' \
7
+ -H "Authorization: Bearer ${TOKEN}" \
8
+ -H "Content-Type: audio/wav"
pyannote_segmentation_2022_07_pythorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b5b3216d60a2d32fc086b47ea8c67589aaeb26b7e07fcbe620d6d0b83e209ea
3
- size 17719103