This commit is contained in:
Freddy Boulton
2024-11-05 21:09:02 -05:00
committed by GitHub
parent 3bf4a437fb
commit d7acdd7eb4
2 changed files with 5 additions and 1 deletions

View File

@@ -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(

View File

@@ -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"