dammy commited on
Commit
b24f482
·
1 Parent(s): e78b5ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -75,11 +75,14 @@ def run_query(btn, history, query):
75
 
76
  print('calling local query')
77
  result = local_query(query, context)
 
78
 
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')
 
75
 
76
  print('calling local query')
77
  result = local_query(query, context)
78
+
79
 
80
  print('printing result after call back')
81
  print(result)
82
+
83
+ result = 'deniz'
84
  print(history)
85
+ history.append((query, result))
86
 
87
 
88
  print('printing history')