Delete logs
This commit is contained in:
@@ -100,7 +100,6 @@ def ask_agent_stream(text: str, conv=None, agent_id: str = "cosmo") -> str:
|
|||||||
if last_punct > -1:
|
if last_punct > -1:
|
||||||
sentence = clean_for_speech(buffer[:last_punct + 1])
|
sentence = clean_for_speech(buffer[:last_punct + 1])
|
||||||
if sentence.strip():
|
if sentence.strip():
|
||||||
print(f"🔊 Говорю: {sentence}")
|
|
||||||
speak(sentence, agent_id)
|
speak(sentence, agent_id)
|
||||||
buffer = buffer[last_punct + 1:].lstrip()
|
buffer = buffer[last_punct + 1:].lstrip()
|
||||||
|
|
||||||
@@ -119,7 +118,6 @@ def ask_agent_stream(text: str, conv=None, agent_id: str = "cosmo") -> str:
|
|||||||
|
|
||||||
if TTS_MODE == "full":
|
if TTS_MODE == "full":
|
||||||
if result.strip():
|
if result.strip():
|
||||||
print(f"🔊 Говорю: {result}")
|
|
||||||
speak(result, agent_id)
|
speak(result, agent_id)
|
||||||
else:
|
else:
|
||||||
if buffer.strip():
|
if buffer.strip():
|
||||||
|
|||||||
Reference in New Issue
Block a user