Spaces:
Sleeping
Sleeping
Switched from showing question to answer on refresh
Browse files
app.py
CHANGED
|
@@ -44,9 +44,8 @@ st.markdown(
|
|
| 44 |
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
-
if st.session_state and st.session_state.
|
| 48 |
-
placeholder.markdown(f"session: {st.session_state.
|
| 49 |
-
st.write("session: " + st.session_state.user_input)
|
| 50 |
else:
|
| 51 |
placeholder.markdown(f'<div class="scrollable-div"><p>Welcome! I am your Adrega AI assistant</p></div>', unsafe_allow_html=True)
|
| 52 |
|
|
|
|
| 44 |
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
+
if st.session_state and st.session_state.conversation:
|
| 48 |
+
placeholder.markdown(f"session: {st.session_state.conversation}")
|
|
|
|
| 49 |
else:
|
| 50 |
placeholder.markdown(f'<div class="scrollable-div"><p>Welcome! I am your Adrega AI assistant</p></div>', unsafe_allow_html=True)
|
| 51 |
|