Spaces:
Build error
Build error
Commit
·
1bd22f4
1
Parent(s):
0442a6c
correct sidebar
Browse files
app.py
CHANGED
@@ -392,13 +392,13 @@ agent_STRUCTURED_ZEROSHOT_REACT = initialize_agent(tools_remote, GPTfake,
|
|
392 |
agent = agent_STRUCTURED_ZEROSHOT_REACT
|
393 |
|
394 |
|
395 |
-
|
396 |
-
st.title("STLA-BABY")
|
397 |
-
|
398 |
st.set_page_config(
|
399 |
initial_sidebar_state='collapsed',
|
400 |
)
|
401 |
|
|
|
|
|
|
|
402 |
if len(msgs.messages) == 0 or st.sidebar.button("Reset Chat History"):
|
403 |
msgs.clear()
|
404 |
msgs.add_ai_message("How can I help you ?")
|
|
|
392 |
agent = agent_STRUCTURED_ZEROSHOT_REACT
|
393 |
|
394 |
|
|
|
|
|
|
|
395 |
st.set_page_config(
|
396 |
initial_sidebar_state='collapsed',
|
397 |
)
|
398 |
|
399 |
+
st.title("STLA-BABY")
|
400 |
+
st.sidebar.button("Reset Chat History")
|
401 |
+
|
402 |
if len(msgs.messages) == 0 or st.sidebar.button("Reset Chat History"):
|
403 |
msgs.clear()
|
404 |
msgs.add_ai_message("How can I help you ?")
|