Update handler.py
Browse files- 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
|