EnariGmbH commited on
Commit
369a189
·
verified ·
1 Parent(s): 182e697

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -54,4 +54,4 @@ class EndpointHandler:
54
  assistant_answer_start = generated_text[0].find("ASSISTANT:") + len("ASSISTANT:")
55
  assistant_answer = generated_text[0][assistant_answer_start:].strip()
56
 
57
- return {"generated_text": assistant_answer}
 
54
  assistant_answer_start = generated_text[0].find("ASSISTANT:") + len("ASSISTANT:")
55
  assistant_answer = generated_text[0][assistant_answer_start:].strip()
56
 
57
+ return assistant_answer