remove leftover prints
This commit is contained in:
@@ -161,11 +161,6 @@ class DailyTransportService(EventHandler):
|
|||||||
participant_count: int = len(self.client.participants())
|
participant_count: int = len(self.client.participants())
|
||||||
self.logger.info(f"{participant_count} participants in room")
|
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():
|
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
|
# all handling of incoming transcriptions happens in on_transcription_message
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ async def main(room_url):
|
|||||||
async def on_participant_joined(transport, participant):
|
async def on_participant_joined(transport, participant):
|
||||||
current_text = ""
|
current_text = ""
|
||||||
async for text in llm_generator:
|
async for text in llm_generator:
|
||||||
print("text", text)
|
|
||||||
current_text += text
|
current_text += text
|
||||||
if re.match(r"^.*[.!?]$", text):
|
if re.match(r"^.*[.!?]$", text):
|
||||||
async for audio in tts.run_tts(current_text):
|
async for audio in tts.run_tts(current_text):
|
||||||
|
|||||||
Reference in New Issue
Block a user