Spaces:
Build error
Build error
changes made
Browse files- chatbot.py +2 -1
chatbot.py
CHANGED
|
@@ -14,6 +14,7 @@ if "db" not in st.session_state:
|
|
| 14 |
|
| 15 |
if "chat_history" not in st.session_state:
|
| 16 |
st.session_state.chat_history = [] # Stores past queries and responses
|
|
|
|
| 17 |
if "agent_chain_output" not in st.session_state:
|
| 18 |
st.session_state.agent_chain_output = ""
|
| 19 |
|
|
@@ -176,4 +177,4 @@ def main():
|
|
| 176 |
st.error(f"An error occurred: {str(e)}")
|
| 177 |
|
| 178 |
if __name__ == "__main__":
|
| 179 |
-
main()
|
|
|
|
| 14 |
|
| 15 |
if "chat_history" not in st.session_state:
|
| 16 |
st.session_state.chat_history = [] # Stores past queries and responses
|
| 17 |
+
|
| 18 |
if "agent_chain_output" not in st.session_state:
|
| 19 |
st.session_state.agent_chain_output = ""
|
| 20 |
|
|
|
|
| 177 |
st.error(f"An error occurred: {str(e)}")
|
| 178 |
|
| 179 |
if __name__ == "__main__":
|
| 180 |
+
main()
|