sohojoe commited on
Commit
82ab66c
1 Parent(s): 795c382
Files changed (1) hide show
  1. charles_actor.py +1 -1
charles_actor.py CHANGED
@@ -169,7 +169,7 @@ class CharlesActor:
169
  has_spoken_for_this_prompt = False
170
  elif len(prompt) > 0 and prompt not in prompts_to_ignore:
171
  # sometimes we get a false signal of speaker_finsihed
172
- # in which case we get new prompts preview before we have spoken
173
  if len(previous_prompt) > 0 and not has_spoken_for_this_prompt:
174
  additional_prompt = previous_prompt
175
  has_spoken_for_this_prompt = True
 
169
  has_spoken_for_this_prompt = False
170
  elif len(prompt) > 0 and prompt not in prompts_to_ignore:
171
  # sometimes we get a false signal of speaker_finsihed
172
+ # in which case we get new prompts before we have spoken
173
  if len(previous_prompt) > 0 and not has_spoken_for_this_prompt:
174
  additional_prompt = previous_prompt
175
  has_spoken_for_this_prompt = True