zemuwen commited on
Commit
675500a
·
verified ·
1 Parent(s): eb224c5

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -13,4 +13,4 @@ class EndpointHandler():
13
  conversation = self.pipeline(inputs)
14
 
15
  # 返回模型的响应
16
- return {"response": conversation.generated_responses[0]}
 
13
  conversation = self.pipeline(inputs)
14
 
15
  # 返回模型的响应
16
+ return conversation