移除调试打印

This commit is contained in:
binary-husky 2023-10-28 20:15:59 +08:00
parent 40a065ce04
commit 12b2a229b6

View File

@ -214,7 +214,6 @@ def predict(inputs, llm_kwargs, plugin_kwargs, chatbot, history=[], system_promp
while True: while True:
try: try:
chunk = next(stream_response) chunk = next(stream_response)
print(chunk)
except StopIteration: except StopIteration:
# 非OpenAI官方接口的出现这样的报错OpenAI和API2D不会走这里 # 非OpenAI官方接口的出现这样的报错OpenAI和API2D不会走这里
chunk_decoded = chunk.decode() chunk_decoded = chunk.decode()