IliaLarchenko commited on
Commit
f6202e2
1 Parent(s): 9282f38

Fixed message merge issue

Browse files
Files changed (1) hide show
  1. ui/coding.py +4 -3
ui/coding.py CHANGED
@@ -87,11 +87,12 @@ def send_request(
87
  audio_created += 1
88
  has_audio_item = True
89
 
90
- if chat_display and len(chat_display) > 1 and chat_display[-1][1] == "" and chat_display[-2][1]:
91
- chat_display.pop()
92
-
93
  yield chat_history, chat_display, code, audio_chunk
94
 
 
 
 
 
95
 
96
  def change_code_area(interview_type):
97
  if interview_type == "coding":
 
87
  audio_created += 1
88
  has_audio_item = True
89
 
 
 
 
90
  yield chat_history, chat_display, code, audio_chunk
91
 
92
+ if chat_display and len(chat_display) > 1 and chat_display[-1][1] == "" and chat_display[-2][1]:
93
+ chat_display.pop()
94
+ yield chat_history, chat_display, code, b""
95
+
96
 
97
  def change_code_area(interview_type):
98
  if interview_type == "coding":