paralym commited on
Commit
1835cf5
1 Parent(s): e4ee109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -289,6 +289,7 @@ def bot(history, temperature, top_p, max_output_tokens):
289
  if type(message[0]) is tuple:
290
  if previous_image:
291
  gr.Warning("Only one image can be uploaded in a conversation. Please reduce the number of images and start a new conversation.")
 
292
  return history
293
  # print("### message[0]",message[0])
294
  # if len(message[0])>1:
 
289
  if type(message[0]) is tuple:
290
  if previous_image:
291
  gr.Warning("Only one image can be uploaded in a conversation. Please reduce the number of images and start a new conversation.")
292
+ our_chatbot.conversation = conv_templates[our_chatbot.conv_mode].copy()
293
  return history
294
  # print("### message[0]",message[0])
295
  # if len(message[0])>1: