mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
默认采用dist 的 whl 安装,没有的情况下才build
This commit is contained in:
@@ -61,7 +61,7 @@ class GeminiHandler(AsyncAudioVideoStreamHandler):
|
||||
# await self.session.send(encode_image(frame))
|
||||
# if self.latest_args[2] is not None:
|
||||
# await self.session.send(encode_image(self.latest_args[2]))
|
||||
print(frame.shape)
|
||||
# print(frame.shape)
|
||||
newFrame = np.array(frame)
|
||||
newFrame[0:, :, 0] = 255 - newFrame[0:, :, 0]
|
||||
self.video_queue.put_nowait(newFrame)
|
||||
|
||||
Reference in New Issue
Block a user