khang119966 commited on
Commit
4d67f1c
·
verified ·
1 Parent(s): a1656c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ We currently only support one image at the start of the context! Please start a
146
 
147
  for i, chat_pair in enumerate(history[start_index:]):
148
  if i == 0 and start_index == 1:
149
- conv_history.append(tuple('<image>\n'+chat_pair[0],chat_pair[1]))
150
  else:
151
  conv_history.append(tuple(chat_pair))
152
 
 
146
 
147
  for i, chat_pair in enumerate(history[start_index:]):
148
  if i == 0 and start_index == 1:
149
+ conv_history.append(tuple(['<image>\n'+chat_pair[0],chat_pair[1]]))
150
  else:
151
  conv_history.append(tuple(chat_pair))
152