Set custom endpoint handler sample rate to 16 kHz
Browse files- 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 =
|
| 19 |
|
| 20 |
|
| 21 |
class EndpointHandler:
|
|
|
|
| 15 |
from speechbrain.inference.separation import SepformerSeparation
|
| 16 |
|
| 17 |
|
| 18 |
+
TARGET_SAMPLE_RATE = 16000
|
| 19 |
|
| 20 |
|
| 21 |
class EndpointHandler:
|