dammy commited on
Commit
217d064
·
1 Parent(s): d99a408

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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 chat_history, ""
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