kblevins commited on
Commit
e11605b
1 Parent(s): 3bdedb5

print inputs

Browse files
Files changed (1) hide show
  1. handler.py +3 -1
handler.py CHANGED
@@ -16,9 +16,11 @@ class EndpointHandler:
16
  # get inputs
17
  inputs: dict = data.pop("inputs", data)
18
 
 
 
19
  # add instruction
20
  query = [['Retrieve documents that can help answer the question:',
21
- inputs[0]]]
22
 
23
  # encode
24
  embedding = self.model.encode(query)
 
16
  # get inputs
17
  inputs: dict = data.pop("inputs", data)
18
 
19
+ print(inputs)
20
+
21
  # add instruction
22
  query = [['Retrieve documents that can help answer the question:',
23
+ inputs]]
24
 
25
  # encode
26
  embedding = self.model.encode(query)