Spaces:
Sleeping
Sleeping
vtrv.vls
commited on
Commit
·
2c456e8
1
Parent(s):
3bef8f9
Functionality rework
Browse files
app.py
CHANGED
@@ -63,6 +63,10 @@ def model_regen(
|
|
63 |
|
64 |
chat_history = chat_history[-1] if no_context else chat_history
|
65 |
content = copy(chat_history[-1][0])
|
|
|
|
|
|
|
|
|
66 |
|
67 |
return model_response(
|
68 |
content,
|
|
|
63 |
|
64 |
chat_history = chat_history[-1] if no_context else chat_history
|
65 |
content = copy(chat_history[-1][0])
|
66 |
+
|
67 |
+
print('---- regen')
|
68 |
+
print(content)
|
69 |
+
print(chat_history[:-1])
|
70 |
|
71 |
return model_response(
|
72 |
content,
|