mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
fix frame_size
This commit is contained in:
@@ -58,7 +58,7 @@ class ReplyOnPause(StreamHandler):
|
||||
model_options: SileroVadOptions | None = None,
|
||||
expected_layout: Literal["mono", "stereo"] = "mono",
|
||||
output_sample_rate: int = 24000,
|
||||
output_frame_size: int = 960,
|
||||
output_frame_size: int = 480,
|
||||
):
|
||||
super().__init__(expected_layout, output_sample_rate, output_frame_size)
|
||||
self.expected_layout: Literal["mono", "stereo"] = expected_layout
|
||||
|
||||
Reference in New Issue
Block a user