Spaces:
Running
Running
update
Browse files- Dockerfile +0 -1
- silero/main.go +1 -1
Dockerfile
CHANGED
@@ -13,7 +13,6 @@ ENV PATH="/code/vad_go_venv/bin:$PATH"
|
|
13 |
|
14 |
RUN pip install --upgrade pip
|
15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
-
RUN pip install onnxruntime
|
17 |
|
18 |
RUN bash build_vad_go.sh
|
19 |
|
|
|
13 |
|
14 |
RUN pip install --upgrade pip
|
15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
16 |
|
17 |
RUN bash build_vad_go.sh
|
18 |
|
silero/main.go
CHANGED
@@ -12,7 +12,7 @@ import (
|
|
12 |
func main() {
|
13 |
sd, err := speech.NewDetector(speech.DetectorConfig{
|
14 |
ModelPath: "./silero/silero_vad.onnx",
|
15 |
-
SampleRate:
|
16 |
Threshold: 0.5,
|
17 |
MinSilenceDurationMs: 100,
|
18 |
SpeechPadMs: 30,
|
|
|
12 |
func main() {
|
13 |
sd, err := speech.NewDetector(speech.DetectorConfig{
|
14 |
ModelPath: "./silero/silero_vad.onnx",
|
15 |
+
SampleRate: 8000,
|
16 |
Threshold: 0.5,
|
17 |
MinSilenceDurationMs: 100,
|
18 |
SpeechPadMs: 30,
|