Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,6 +108,8 @@ with st.container():
|
|
| 108 |
with st.form("chat_form", clear_on_submit=True):
|
| 109 |
st.markdown('<div id="floating-container">', unsafe_allow_html=True)
|
| 110 |
st.markdown('</div>', unsafe_allow_html=True)
|
|
|
|
|
|
|
| 111 |
submitted = st.form_submit_button(label = "Send")
|
| 112 |
if submitted and user_input:
|
| 113 |
st.session_state.chat_history.append(HumanMessage(content=user_input))
|
|
|
|
| 108 |
with st.form("chat_form", clear_on_submit=True):
|
| 109 |
st.markdown('<div id="floating-container">', unsafe_allow_html=True)
|
| 110 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 111 |
+
user_input = st.text_input("Ask me", label_visibility="collapsed", placeholder="Ask me Anything")
|
| 112 |
+
|
| 113 |
submitted = st.form_submit_button(label = "Send")
|
| 114 |
if submitted and user_input:
|
| 115 |
st.session_state.chat_history.append(HumanMessage(content=user_input))
|