Spaces:
Sleeping
Sleeping
srijaydeshpande
commited on
Commit
•
5d7d47a
1
Parent(s):
f59f99a
Update app.py
Browse files
app.py
CHANGED
@@ -289,13 +289,13 @@ def respond(
|
|
289 |
|
290 |
messages = BasicChatHistory()
|
291 |
|
|
|
|
|
292 |
for msn in history:
|
293 |
-
print('MSN 0 is ', msn[0])
|
294 |
user = {
|
295 |
'role': Roles.user,
|
296 |
'content': msn[0]
|
297 |
}
|
298 |
-
print('MSN 1 is ', msn[1])
|
299 |
assistant = {
|
300 |
'role': Roles.assistant,
|
301 |
'content': msn[1]
|
|
|
289 |
|
290 |
messages = BasicChatHistory()
|
291 |
|
292 |
+
print('history is ------------------ ', history)
|
293 |
+
|
294 |
for msn in history:
|
|
|
295 |
user = {
|
296 |
'role': Roles.user,
|
297 |
'content': msn[0]
|
298 |
}
|
|
|
299 |
assistant = {
|
300 |
'role': Roles.assistant,
|
301 |
'content': msn[1]
|