mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Add ability to trigger ReplyOnPause without waiting for pause (#250)
* Add code * Send text or audio demo
This commit is contained in:
@@ -73,7 +73,7 @@ class WebRTCConnectionMixin:
|
||||
self.connections = defaultdict(list)
|
||||
self.data_channels = {}
|
||||
self.additional_outputs = defaultdict(OutputQueue)
|
||||
self.handlers = {}
|
||||
self.handlers: dict[str, HandlerType] = {}
|
||||
self.connection_timeouts = defaultdict(asyncio.Event)
|
||||
# These attributes should be set by subclasses:
|
||||
self.concurrency_limit: int | None
|
||||
|
||||
Reference in New Issue
Block a user