mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
优化resize 逻辑,numpy版本依赖
This commit is contained in:
@@ -16,7 +16,7 @@ requires-python = ">=3.10"
|
||||
authors = [{ name = "Freddy Boulton", email = "YOUREMAIL@domain.com" }]
|
||||
keywords = ["gradio-custom-component", "gradio-template-Video", "streaming", "webrtc", "realtime"]
|
||||
# Add dependencies here
|
||||
dependencies = ["gradio>=4.0,<6.0", "aiortc"]
|
||||
dependencies = ["gradio>=4.0,<6.0", "aiortc", "numpy<3.0,>=1.0"]
|
||||
classifiers = [
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Operating System :: OS Independent',
|
||||
@@ -47,7 +47,7 @@ vad = ["librosa", "onnxruntime"]
|
||||
stopword = ["silero", "librosa", "onnxruntime"]
|
||||
|
||||
[tool.hatch.build]
|
||||
artifacts = ["/backend/gradio_webrtc/templates", "*.pyi"]
|
||||
artifacts = ["/backend/gradio_webrtc/templates", "*.pyi", "/Users/huangbinchao/miniconda3/envs/gradio_rtc/lib/python3.12/site-packages/gradio_webrtc/templates"]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["/backend/gradio_webrtc"]
|
||||
|
||||
Reference in New Issue
Block a user