Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def generate(prompt, history):
|
|
160 |
|
161 |
# yield response
|
162 |
|
163 |
-
history.append((
|
164 |
context += response
|
165 |
print (context)
|
166 |
return history
|
|
|
160 |
|
161 |
# yield response
|
162 |
|
163 |
+
history.append((prompt,response))
|
164 |
context += response
|
165 |
print (context)
|
166 |
return history
|