Spaces:
Build error
Build error
Commit
·
dd0f669
1
Parent(s):
026936e
back to normal
Browse files
app.py
CHANGED
@@ -423,8 +423,8 @@ if prompt := st.chat_input(placeholder="Input Your Request"):
|
|
423 |
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=False)
|
424 |
response = agent.run(prompt, callbacks=[st_cb])
|
425 |
# st.write(response)
|
426 |
-
|
427 |
-
st.markdown(colored_code_block(response), unsafe_allow_html=True)
|
428 |
# for content in response:
|
429 |
# if isinstance(content, str):
|
430 |
# st.write(content)
|
|
|
423 |
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=False)
|
424 |
response = agent.run(prompt, callbacks=[st_cb])
|
425 |
# st.write(response)
|
426 |
+
st.markdown(response)
|
427 |
+
# st.markdown(colored_code_block(response), unsafe_allow_html=True)
|
428 |
# for content in response:
|
429 |
# if isinstance(content, str):
|
430 |
# st.write(content)
|