From 330ef481b1b2ce03055581c143076ca4cd7fd3a4 Mon Sep 17 00:00:00 2001 From: Jerome Hardaway Date: Sun, 10 Nov 2024 22:57:30 -0500 Subject: [PATCH] fix indentation --- app.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index ac1322d..a8fc6d8 100644 --- a/app.py +++ b/app.py @@ -610,15 +610,15 @@ def main(): ) }) - response = get_chat_response(messages) - st.markdown(response) + response = get_chat_response(messages) + st.markdown(response) - st.session_state.messages.append({ - "role": "assistant", - "content": response - }) - except Exception as e: - st.error(f"Error generating response: {str(e)}") + st.session_state.messages.append({ + "role": "assistant", + "content": response + }) + except Exception as e: + st.error(f"Error generating response: {str(e)}") # Export chat history if st.button("Export Chat History"):