Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def run_query(btn, history, query):
|
|
| 79 |
print('printing result after call back')
|
| 80 |
print(result)
|
| 81 |
print(history)
|
| 82 |
-
history.append((query, result))
|
| 83 |
|
| 84 |
|
| 85 |
print('printing history')
|
|
|
|
| 79 |
print('printing result after call back')
|
| 80 |
print(result)
|
| 81 |
print(history)
|
| 82 |
+
history.append((query, result[0]))
|
| 83 |
|
| 84 |
|
| 85 |
print('printing history')
|