Spaces:
Running
Running
Commit
·
a609468
1
Parent(s):
7841de0
Update chatbot_tab.py
Browse files- tabs/chatbot_tab.py +1 -1
tabs/chatbot_tab.py
CHANGED
@@ -106,7 +106,7 @@ def run():
|
|
106 |
stream_mode="messages",
|
107 |
):
|
108 |
if isinstance(chunk, AIMessage): # Filter to just model responses
|
109 |
-
st.
|
110 |
|
111 |
'''
|
112 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
|
|
106 |
stream_mode="messages",
|
107 |
):
|
108 |
if isinstance(chunk, AIMessage): # Filter to just model responses
|
109 |
+
st.markdown("<span style='white-space: nowrap;'>"+chunk.content+"</span>", unsafe_allow_html=True)
|
110 |
|
111 |
'''
|
112 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|