poiccard commited on
Commit
a52b5bb
1 Parent(s): c9c63cb

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -41,4 +41,5 @@ class EndpointHandler():
41
  final_response = response.split("### Response: [|AI|]")
42
 
43
 
44
- return [{"generated_text": final_response[-1]}]
 
 
41
  final_response = response.split("### Response: [|AI|]")
42
 
43
 
44
+ #return [{"generated_text": final_response[-1]}]
45
+ return final_response