Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -736,8 +736,8 @@ class ChatBot(gr.Chatbot):
|
|
| 736 |
self, chat_message
|
| 737 |
):
|
| 738 |
x = super()._postprocess_chat_messages(chat_message)
|
| 739 |
-
if isinstance(x, str):
|
| 740 |
-
|
| 741 |
return x
|
| 742 |
|
| 743 |
|
|
|
|
| 736 |
self, chat_message
|
| 737 |
):
|
| 738 |
x = super()._postprocess_chat_messages(chat_message)
|
| 739 |
+
# if isinstance(x, str):
|
| 740 |
+
# x = x.strip().replace("\n", "<br>")
|
| 741 |
return x
|
| 742 |
|
| 743 |
|