From d7acdd7eb4c9d2c0a2ab60ff351c15911eae6217 Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Tue, 5 Nov 2024 21:09:02 -0500 Subject: [PATCH] commit (#16) --- backend/gradio_webrtc/webrtc.py | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/gradio_webrtc/webrtc.py b/backend/gradio_webrtc/webrtc.py index be608e3..b685a35 100644 --- a/backend/gradio_webrtc/webrtc.py +++ b/backend/gradio_webrtc/webrtc.py @@ -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( diff --git a/pyproject.toml b/pyproject.toml index cc6769e..26a2707 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"