默认采用dist 的 whl 安装,没有的情况下才build

This commit is contained in:
杍超
2025-01-22 11:42:05 +08:00
parent c89297fa7b
commit e842a00303
4 changed files with 56 additions and 23 deletions

View File

@@ -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)