From 54602d8d1f7a056661c80e56927c90eba514e7ad Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Wed, 4 Dec 2024 16:47:16 -0500 Subject: [PATCH] Fix typing (#30) * code * add code * add code * Code --- backend/gradio_webrtc/webrtc.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"