Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
b69c7d1
1
Parent(s):
496913a
不再打印json decoder error
Browse files
utils.py
CHANGED
@@ -171,7 +171,6 @@ def predict(inputs, top_p, temperature, openai_api_key, chatbot=[], history=[],
|
|
171 |
yield chatbot, history, status_text
|
172 |
break
|
173 |
except Exception as e:
|
174 |
-
traceback.print_exc()
|
175 |
if not retry_on_crash:
|
176 |
print("正在尝试使用缩短的context重新生成……")
|
177 |
chatbot.pop()
|
|
|
171 |
yield chatbot, history, status_text
|
172 |
break
|
173 |
except Exception as e:
|
|
|
174 |
if not retry_on_crash:
|
175 |
print("正在尝试使用缩短的context重新生成……")
|
176 |
chatbot.pop()
|