Spaces:
Sleeping
Sleeping
Chuan Hu
commited on
Commit
•
64c9bb8
1
Parent(s):
7e40053
Fix parse text
Browse files- ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py
CHANGED
@@ -38,7 +38,7 @@ def get_response(system, context, raw = False):
|
|
38 |
message_with_stats = f'{message}\n\n================\n\n{statistics}'
|
39 |
# message_with_stats = markdown.markdown(message_with_stats)
|
40 |
|
41 |
-
return message, message_with_stats
|
42 |
|
43 |
def predict(chatbot, input_sentence, system, context):
|
44 |
if len(input_sentence) == 0:
|
|
|
38 |
message_with_stats = f'{message}\n\n================\n\n{statistics}'
|
39 |
# message_with_stats = markdown.markdown(message_with_stats)
|
40 |
|
41 |
+
return message, parse_text(message_with_stats)
|
42 |
|
43 |
def predict(chatbot, input_sentence, system, context):
|
44 |
if len(input_sentence) == 0:
|