vsj0702 commited on
Commit
340a4b8
·
verified ·
1 Parent(s): 92464fb

fixing error

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -2
chatbot.py CHANGED
@@ -133,8 +133,7 @@ def render_chatbot(code, input, output, error):
133
  st.markdown(f'<div class="chat-message user-message">{escape(q)}</div>', unsafe_allow_html=True)
134
 
135
  def format_response(txt):
136
- parts = txt.split('
137
- ')
138
  result = ''
139
  for j, part in enumerate(parts):
140
  if j % 2 == 1:
 
133
  st.markdown(f'<div class="chat-message user-message">{escape(q)}</div>', unsafe_allow_html=True)
134
 
135
  def format_response(txt):
136
+ parts = txt.split('')
 
137
  result = ''
138
  for j, part in enumerate(parts):
139
  if j % 2 == 1: