Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromehardaway committed Nov 11, 2024
1 parent 2b39dd4 commit 330ef48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 330ef48

Please sign in to comment.