Skip to content

Commit 3f3df11

Browse files
committed
changed the sleep after
1 parent e19c637 commit 3f3df11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npcsh/shell_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2900,7 +2900,7 @@ def speech_playback_thread():
29002900
generate_and_play_speech(text_to_speak)
29012901

29022902
# Delay after speech to prevent echo
2903-
time.sleep(0.05 * len(text_to_speak))
2903+
time.sleep(0.005 * len(text_to_speak))
29042904
print(len(text_to_speak))
29052905

29062906
# Clear the speaking flag to allow listening again

0 commit comments

Comments
 (0)