Spaces:
Sleeping
Sleeping
Fixed problem with referencing undeclared variable
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ st.markdown(
|
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
if st.session_state and st.session_state.user_input:
|
| 48 |
-
placeholder.markdown(f"session: {user_input}")
|
| 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)
|
|
|
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
if st.session_state and st.session_state.user_input:
|
| 48 |
+
placeholder.markdown(f"session: {st.session_state.user_input}")
|
| 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)
|