mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
[feat] update some feature
sync code of fastrtc, add text support through datachannel, fix safari connect problem support chat without camera or mic
This commit is contained in:
@@ -7,25 +7,51 @@ requires = [
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "gradio_webrtc"
|
||||
version = "0.0.30-dev"
|
||||
description = "Stream images in realtime with webrtc"
|
||||
name = "fastrtc"
|
||||
version = "0.0.15.dev"
|
||||
description = "The realtime communication library for Python"
|
||||
readme = "README.md"
|
||||
license = "apache-2.0"
|
||||
requires-python = ">=3.10"
|
||||
authors = [{ name = "Freddy Boulton", email = "YOUREMAIL@domain.com" }]
|
||||
keywords = ["gradio-custom-component", "gradio-template-Video", "streaming", "webrtc", "realtime"]
|
||||
keywords = [
|
||||
"streaming",
|
||||
"webrtc",
|
||||
"realtime",
|
||||
"machine learning",
|
||||
"computer vision",
|
||||
"audio",
|
||||
"video",
|
||||
"image",
|
||||
"audio processing",
|
||||
"video processing",
|
||||
"gradio-custom-component",
|
||||
]
|
||||
# Add dependencies here
|
||||
dependencies = ["gradio>=4.0,<6.0", "aiortc", "numpy<2.2,>=1.0"]
|
||||
dependencies = [
|
||||
"gradio>=4.0,<6.0",
|
||||
"aiortc",
|
||||
"audioop-lts;python_version>='3.13'",
|
||||
"librosa",
|
||||
"numpy<=1.26.4", # because of librosa
|
||||
"numba>=0.60.0",
|
||||
"standard-aifc;python_version>='3.13'",
|
||||
"standard-sunau;python_version>='3.13'",
|
||||
]
|
||||
classifiers = [
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'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 :: Internet',
|
||||
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Topic :: Software Development :: Libraries",
|
||||
"Topic :: Software Development",
|
||||
'Topic :: Scientific/Engineering',
|
||||
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
||||
'Topic :: Scientific/Engineering :: Visualization',
|
||||
@@ -37,20 +63,24 @@ classifiers = [
|
||||
# This will make it easy for people to find your deployed demo or source code when they
|
||||
# encounter your project in the wild.
|
||||
|
||||
# [project.urls]
|
||||
# repository = "your github repository"
|
||||
# space = "your space url"
|
||||
[project.urls]
|
||||
repository = "https://github.com/freddyaboulton/gradio-webrtc"
|
||||
issues = "https://github.com/freddyaboulton/gradio-webrtc/issues"
|
||||
Documentation = "https://freddyaboulton.github.io/gradio-webrtc/cookbook/"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["build", "twine"]
|
||||
vad = ["librosa", "onnxruntime"]
|
||||
stopword = ["silero", "librosa", "onnxruntime"]
|
||||
vad = ["onnxruntime>=1.20.1"]
|
||||
tts = ["kokoro-onnx"]
|
||||
stopword = ["fastrtc-moonshine-onnx", "onnxruntime>=1.20.1"]
|
||||
stt = ["fastrtc-moonshine-onnx", "onnxruntime>=1.20.1"]
|
||||
|
||||
[tool.hatch.build]
|
||||
artifacts = ["/backend/gradio_webrtc/templates", "*.pyi", "/Users/huangbinchao/miniconda3/envs/gradio_rtc/lib/python3.12/site-packages/gradio_webrtc/templates"]
|
||||
artifacts = ["/backend/fastrtc/templates", "*.pyi"]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["/backend/gradio_webrtc"]
|
||||
packages = ["/backend/fastrtc"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
target-version = "py310"
|
||||
extend-exclude = ["demo/phonic_chat", "demo/nextjs_voice_chat"]
|
||||
|
||||
Reference in New Issue
Block a user