Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
8c57f7c
1
Parent(s):
b71be45
不再渲染用户输入中的markdown
Browse files
utils.py
CHANGED
@@ -48,7 +48,7 @@ def postprocess(
|
|
48 |
y[i] = (
|
49 |
# None if message is None else markdown.markdown(message),
|
50 |
# None if response is None else markdown.markdown(response),
|
51 |
-
None if message is None else
|
52 |
None if response is None else mdtex2html.convert(response),
|
53 |
)
|
54 |
return y
|
|
|
48 |
y[i] = (
|
49 |
# None if message is None else markdown.markdown(message),
|
50 |
# None if response is None else markdown.markdown(response),
|
51 |
+
None if message is None else message,
|
52 |
None if response is None else mdtex2html.convert(response),
|
53 |
)
|
54 |
return y
|