优化点击,限定numpy小于2.2

This commit is contained in:
杍超
2025-02-07 11:48:24 +08:00
parent 21f56e0283
commit e6f6279833
4 changed files with 24 additions and 16 deletions

Binary file not shown.

View File

@@ -81,6 +81,7 @@
on:error={({ detail }) => gradio.dispatch("error", detail)}
i18n={gradio.i18n}
stream_handler={(...args) => gradio.client.stream(...args)}
{height}
{on_change_cb} {rtc_configuration}
on:tick={() => gradio.dispatch("tick")}
on:error={({ detail }) => gradio.dispatch("error", detail)}></VideoChat>

File diff suppressed because one or more lines are too long

View File

@@ -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", "numpy<3.0,>=1.0"]
dependencies = ["gradio>=4.0,<6.0", "aiortc", "numpy<2.2,>=1.0"]
classifiers = [
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',