remove debug print

This commit is contained in:
Cyberes 2023-09-25 12:35:36 -06:00
parent 1646a00987
commit 44e692c9cf
1 changed files with 0 additions and 1 deletions

View File

@ -64,7 +64,6 @@ def openai_chat_completions():
try: try:
json_obj = json.loads(json_str.decode()) json_obj = json.loads(json_str.decode())
new = json_obj['text'][0].split(handler.prompt + generated_text)[1] new = json_obj['text'][0].split(handler.prompt + generated_text)[1]
print(new)
generated_text = generated_text + new generated_text = generated_text + new
data = { data = {
"id": f"chatcmpl-{generate_oai_string(30)}", "id": f"chatcmpl-{generate_oai_string(30)}",