giulio98 commited on
Commit
9be84e6
1 Parent(s): 45283ca

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -158,4 +158,5 @@ class EndpointHandler:
158
  )
159
 
160
  text = self.tokenizer.batch_decode(tokens[:, input_ids_len:, ...])
161
- return truncate(text[0])
 
 
158
  )
159
 
160
  text = self.tokenizer.batch_decode(tokens[:, input_ids_len:, ...])
161
+ desired = "THE PROMPT IS:" + "\n=======================" + prompt + "\n FUNCTION IS" + function + "\n======================="
162
+ return truncate(text[0]) + desired