diff --git a/requirements/server.txt b/requirements/server.txt index c0ed288..2a68d73 100644 --- a/requirements/server.txt +++ b/requirements/server.txt @@ -1,6 +1,7 @@ faster-whisper==1.2.0 websockets -onnxruntime==1.17.0 +onnxruntime>=1.17.0,<1.20.0; python_version < "3.10" +onnxruntime>=1.20.0,<2; python_version >= "3.10" numba kaldialign soundfile diff --git a/setup.py b/setup.py index 9b16012..4c59270 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,11 @@ setup( "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Artificial Intelligence", ], packages=find_packages( @@ -48,7 +51,8 @@ setup( "torch", "torchaudio", "websockets", - "onnxruntime==1.17.0", + "onnxruntime>=1.17.0,<1.20.0; python_version < '3.10'", + "onnxruntime>=1.20.0,<2; python_version >= '3.10'", "scipy", "websocket-client", "numba",