You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defaults to None, using the global ComfyUI log level.
20
20
**kwargs: Additional arguments to pass to the ComfyStreamClient
21
21
"""
22
-
self.client=ComfyStreamClient(
23
-
**kwargs, max_workers=5
24
-
) # TODO: hardcoded max workers, should it be configurable?
22
+
self.client=ComfyStreamClient(**kwargs, max_workers=5) # TODO: hardcoded max workers, should it be configurable?
25
23
26
24
self.video_incoming_frames=asyncio.Queue()
27
25
self.audio_incoming_frames=asyncio.Queue()
@@ -40,9 +38,7 @@ async def warm_video(self):
40
38
41
39
asyncdefwarm_audio(self):
42
40
dummy_frame=av.AudioFrame()
43
-
dummy_frame.side_data.input=np.random.randint(
44
-
-32768, 32767, int(48000*0.5), dtype=np.int16
45
-
) # TODO: adds a lot of delay if it doesn't match the buffer size, is warmup needed?
41
+
dummy_frame.side_data.input=np.random.randint(-32768, 32767, int(48000*0.5), dtype=np.int16) # TODO: adds a lot of delay if it doesn't match the buffer size, is warmup needed?
0 commit comments