Spaces:
Running
on
Zero
Running
on
Zero
khang119966
commited on
Update app.py
Browse files
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 |
|