Update app.py
Browse files
app.py
CHANGED
|
@@ -78,16 +78,13 @@ def run_query(file, history, query):
|
|
| 78 |
result = local_query(query, context)
|
| 79 |
print('printing result after call back')
|
| 80 |
print(result)
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
history = history.append(result)
|
| 84 |
-
|
| 85 |
history.append((query, result))
|
| 86 |
|
| 87 |
|
| 88 |
print('printing history')
|
| 89 |
print(history)
|
| 90 |
-
return
|
| 91 |
|
| 92 |
|
| 93 |
|
|
|
|
| 78 |
result = local_query(query, context)
|
| 79 |
print('printing result after call back')
|
| 80 |
print(result)
|
| 81 |
+
print(history)
|
|
|
|
|
|
|
|
|
|
| 82 |
history.append((query, result))
|
| 83 |
|
| 84 |
|
| 85 |
print('printing history')
|
| 86 |
print(history)
|
| 87 |
+
return history, ""
|
| 88 |
|
| 89 |
|
| 90 |
|