Blaxzter commited on
Commit
d42ba8d
1 Parent(s): 06ffed8

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -22,7 +22,7 @@ class EndpointHandler():
22
 
23
  for index, input_string in enumerate(inputs):
24
  if input_string in self.cache:
25
- cached_results[index] = self.cache[input_string]
26
  else:
27
  uncached_inputs.append((index, input_string))
28
 
 
22
 
23
  for index, input_string in enumerate(inputs):
24
  if input_string in self.cache:
25
+ cached_results[index] = self.cache[input_string]["pooler_output"]
26
  else:
27
  uncached_inputs.append((index, input_string))
28