ofermend commited on
Commit
2e170c4
·
2 Parent(s): 4b1db34 2c1a214

Merge branch 'main' of hf.co:spaces/vectara/debate-bot

Browse files
Files changed (1) hide show
  1. query.py +1 -1
query.py CHANGED
@@ -111,7 +111,7 @@ class VectaraQuery():
111
  pattern_max_length = 50 # Example heuristic
112
  for line in response.iter_lines():
113
  if line: # filter out keep-alive new lines
114
- data = json.loads(line.decode('utf-8'))
115
  res = data['result']
116
  response_set = res['responseSet']
117
  if response_set is None:
 
111
  pattern_max_length = 50 # Example heuristic
112
  for line in response.iter_lines():
113
  if line: # filter out keep-alive new lines
114
+ data = json.loads(line.decode('utf-8'))
115
  res = data['result']
116
  response_set = res['responseSet']
117
  if response_set is None: