i think animation defeated me

This commit is contained in:
Chad Bailey
2024-01-25 02:44:26 +00:00
parent 0a9fa24b14
commit 6834d484ca
3 changed files with 2 additions and 3 deletions

View File

@@ -43,5 +43,4 @@ class LLMContextAggregator(AIService):
self.messages.append({"role": self.role, "content": self.sentence}) self.messages.append({"role": self.role, "content": self.sentence})
self.sentence = "" self.sentence = ""
yield LLMMessagesQueueFrame(self.messages) yield LLMMessagesQueueFrame(self.messages)
yield frame yield frame

View File

@@ -316,7 +316,7 @@ class DailyTransportService(EventHandler):
self.images: list[bytes] | None = images self.images: list[bytes] | None = images
self.image = None self.image = None
self.current_frame = start_frame self.current_frame = start_frame
def run_camera(self): def run_camera(self):
try: try:
while not self.stop_threads.is_set(): while not self.stop_threads.is_set():

View File

@@ -130,7 +130,7 @@ async def main(room_url:str, token):
) )
async def make_cats(): async def make_cats():
await transport.send_queue.put(talking_frame) await transport.send_queue.put(quiet_frame)
transport.transcription_settings["extra"]["punctuate"] = True transport.transcription_settings["extra"]["punctuate"] = True
await asyncio.gather(transport.run(), handle_transcriptions(), make_cats()) await asyncio.gather(transport.run(), handle_transcriptions(), make_cats())