Spaces:
Runtime error
Runtime error
remove verbose print
Browse files- toolbox.py +1 -1
toolbox.py
CHANGED
@@ -176,7 +176,7 @@ def close_up_code_segment_during_stream(gpt_reply):
|
|
176 |
segments = gpt_reply.split('```')
|
177 |
n_mark = len(segments) - 1
|
178 |
if n_mark % 2 == 1:
|
179 |
-
print('输出代码片段中!')
|
180 |
return gpt_reply+'\n```'
|
181 |
else:
|
182 |
return gpt_reply
|
|
|
176 |
segments = gpt_reply.split('```')
|
177 |
n_mark = len(segments) - 1
|
178 |
if n_mark % 2 == 1:
|
179 |
+
# print('输出代码片段中!')
|
180 |
return gpt_reply+'\n```'
|
181 |
else:
|
182 |
return gpt_reply
|