Spaces:
Runtime error
Runtime error
Vision-CAIR
commited on
Commit
Β·
5e530c0
1
Parent(s):
37501f5
Update minigpt4/conversation/conversation.py
Browse files
minigpt4/conversation/conversation.py
CHANGED
@@ -217,7 +217,7 @@ class Chat:
|
|
217 |
img_list.append(image)
|
218 |
msg = "Received."
|
219 |
|
220 |
-
return msg
|
221 |
|
222 |
def get_context_emb(self, conv, img_list):
|
223 |
prompt = conv.get_prompt()
|
|
|
217 |
img_list.append(image)
|
218 |
msg = "Received."
|
219 |
|
220 |
+
return msg, img_list
|
221 |
|
222 |
def get_context_emb(self, conv, img_list):
|
223 |
prompt = conv.get_prompt()
|