RomZay commited on
Commit
76baf6a
·
verified ·
1 Parent(s): cd464b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -172,7 +172,7 @@ with gr.Blocks(css=".chatbox {height: 400px; overflow-y: auto; border: 1px solid
172
  new_message_html += f"<img src='{ASSISTANT_PIC_PATH}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
173
  new_message_html += f"{assistant_reply}</div><br>"
174
 
175
- return gr.update(value=new_message_html, append=True), history, "", message
176
 
177
 
178
  def regenerate_response(history, last_message, max_tokens, top_p, temperature):
 
172
  new_message_html += f"<img src='{ASSISTANT_PIC_PATH}' style='width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;'>"
173
  new_message_html += f"{assistant_reply}</div><br>"
174
 
175
+ return gr.update(value=new_message_html), history, "", message
176
 
177
 
178
  def regenerate_response(history, last_message, max_tokens, top_p, temperature):