Spaces:
Runtime error
Runtime error
Commit
Β·
9248bba
1
Parent(s):
c3ad99f
Update minigpt4/conversation/conversation.py
Browse files
minigpt4/conversation/conversation.py
CHANGED
|
@@ -214,6 +214,7 @@ class Chat:
|
|
| 214 |
def upload_img(self, image, conv, img_list):
|
| 215 |
conv.append_message(conv.roles[0], "<Img><ImageHere></Img>")
|
| 216 |
img_list.append(image)
|
|
|
|
| 217 |
msg = "Received."
|
| 218 |
|
| 219 |
return msg
|
|
|
|
| 214 |
def upload_img(self, image, conv, img_list):
|
| 215 |
conv.append_message(conv.roles[0], "<Img><ImageHere></Img>")
|
| 216 |
img_list.append(image)
|
| 217 |
+
print('img_list', len(img_list))
|
| 218 |
msg = "Received."
|
| 219 |
|
| 220 |
return msg
|