Update app.py
Browse files
app.py
CHANGED
@@ -160,10 +160,10 @@ def generate(prompt, history):
|
|
160 |
|
161 |
# yield response
|
162 |
|
163 |
-
history.append((
|
164 |
context += response
|
165 |
print (context)
|
166 |
-
|
167 |
|
168 |
else:
|
169 |
output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data. "
|
|
|
160 |
|
161 |
# yield response
|
162 |
|
163 |
+
history.append((message,response))
|
164 |
context += response
|
165 |
print (context)
|
166 |
+
return history
|
167 |
|
168 |
else:
|
169 |
output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data. "
|