admin-spsoft commited on
Commit
dac79cf
·
verified ·
1 Parent(s): abffd77

Set custom endpoint handler sample rate to 16 kHz

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -15,7 +15,7 @@ if not hasattr(torchaudio, "list_audio_backends"):
15
  from speechbrain.inference.separation import SepformerSeparation
16
 
17
 
18
- TARGET_SAMPLE_RATE = 8000
19
 
20
 
21
  class EndpointHandler:
 
15
  from speechbrain.inference.separation import SepformerSeparation
16
 
17
 
18
+ TARGET_SAMPLE_RATE = 16000
19
 
20
 
21
  class EndpointHandler: