mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
commit (#16)
This commit is contained in:
@@ -629,6 +629,8 @@ class WebRTC(Component):
|
||||
js: str | None = None,
|
||||
concurrency_limit: int | None | Literal["default"] = "default",
|
||||
concurrency_id: str | None = None,
|
||||
show_progress: Literal["full", "minimal", "hidden"] = "full",
|
||||
queue: bool = True,
|
||||
):
|
||||
inputs = inputs or []
|
||||
if inputs and not isinstance(inputs, Iterable):
|
||||
@@ -651,6 +653,8 @@ class WebRTC(Component):
|
||||
js=js,
|
||||
concurrency_limit=concurrency_limit,
|
||||
concurrency_id=concurrency_id,
|
||||
show_progress=show_progress,
|
||||
queue=queue,
|
||||
)
|
||||
|
||||
def stream(
|
||||
|
||||
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "gradio_webrtc"
|
||||
version = "0.0.11"
|
||||
version = "0.0.12"
|
||||
description = "Stream images in realtime with webrtc"
|
||||
readme = "README.md"
|
||||
license = "apache-2.0"
|
||||
|
||||
Reference in New Issue
Block a user