remove debug print
This commit is contained in:
parent
1646a00987
commit
44e692c9cf
|
@ -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)}",
|
||||||
|
|
Reference in New Issue