remove leftover prints

This commit is contained in:
Moishe Lettvin
2024-01-08 17:56:21 -05:00
parent 6cace129fd
commit ac0e4b0c27
2 changed files with 0 additions and 6 deletions

View File

@@ -161,11 +161,6 @@ class DailyTransportService(EventHandler):
participant_count: int = len(self.client.participants())
self.logger.info(f"{participant_count} participants in room")
while time.time() < self.expiration and not self.participant_left and not self.stop_threads.is_set():
print(
time.time() < self.expiration,
not self.participant_left,
not self.stop_threads.is_set()
)
# all handling of incoming transcriptions happens in on_transcription_message
await asyncio.sleep(1)
except Exception as e:

View File

@@ -32,7 +32,6 @@ async def main(room_url):
async def on_participant_joined(transport, participant):
current_text = ""
async for text in llm_generator:
print("text", text)
current_text += text
if re.match(r"^.*[.!?]$", text):
async for audio in tts.run_tts(current_text):