Merge pull request #674 from snakers4/adamnsandle

Adamnsandle
This commit is contained in:
Dimitrii Voronin
2025-08-25 17:09:07 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "silero-vad"
version = "5.1.2"
version = "6.0.0"
authors = [
{name="Silero Team", email="hello@silero.ai"},
]

View File

@@ -29,7 +29,7 @@ def load_silero_vad(onnx=False, opset_version=16):
model_file_path = str(impresources.files(package_path).joinpath(model_name))
if onnx:
model = OnnxWrapper(model_file_path, force_onnx_cpu=True)
model = OnnxWrapper(str(model_file_path), force_onnx_cpu=True)
else:
model = init_jit_model(model_file_path)