diff --git a/backend/gradio_webrtc/webrtc.py b/backend/gradio_webrtc/webrtc.py index ba47140..6cabbac 100644 --- a/backend/gradio_webrtc/webrtc.py +++ b/backend/gradio_webrtc/webrtc.py @@ -220,6 +220,7 @@ class StreamHandler(ABC): ) -> ( tuple[int, np.ndarray] | AdditionalOutputs + | None | tuple[tuple[int, np.ndarray], AdditionalOutputs] ): pass diff --git a/pyproject.toml b/pyproject.toml index 7de8e4e..0f542c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "hatchling.build" [project] name = "gradio_webrtc" -version = "0.0.16" +version = "0.0.18" description = "Stream images in realtime with webrtc" readme = "README.md" license = "apache-2.0"