Commit
·
d8d32c4
1
Parent(s):
e2d5a56
summary
Browse files
app.py
CHANGED
@@ -91,6 +91,7 @@ def bot(history):
|
|
91 |
global full_summary
|
92 |
if 'summary' in history[-1][0].lower(): # Check if the last question asks for a summary
|
93 |
response = full_summary
|
|
|
94 |
else:
|
95 |
response = infer(history[-1][0], history)
|
96 |
|
|
|
91 |
global full_summary
|
92 |
if 'summary' in history[-1][0].lower(): # Check if the last question asks for a summary
|
93 |
response = full_summary
|
94 |
+
return full_summary
|
95 |
else:
|
96 |
response = infer(history[-1][0], history)
|
97 |
|