Linsad commited on
Commit
35281af
·
verified ·
1 Parent(s): 631559b

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -18,7 +18,7 @@ class EndpointHandler:
18
  A :obj:`list` | `dict`: will be serialized and returned
19
  """
20
  # get inputs
21
- return str(os.getcwd())
22
  # inputs = data.pop("inputs", data)
23
 
24
  # response, history = self.model.chat(self.tokenizer, inputs, history=[])
 
18
  A :obj:`list` | `dict`: will be serialized and returned
19
  """
20
  # get inputs
21
+ return [{'response': str(os.getcwd())}]
22
  # inputs = data.pop("inputs", data)
23
 
24
  # response, history = self.model.chat(self.tokenizer, inputs, history=[])