Spaces:
Sleeping
Sleeping
Try to realign items
Browse files
app.py
CHANGED
|
@@ -62,18 +62,19 @@ def handle_submit():
|
|
| 62 |
st.write("Please enter a question.")
|
| 63 |
|
| 64 |
#st.title("Adrega AI Help")
|
| 65 |
-
col1, col2, col3 = st.columns([3, 1, 1])
|
| 66 |
|
| 67 |
-
|
| 68 |
-
st.text_input('Ask me a question', key='user_input', on_change=handle_submit)
|
| 69 |
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
| 71 |
st.session_state.include_context = st.checkbox('Search in Help')
|
| 72 |
|
| 73 |
if 'conversation' not in st.session_state:
|
| 74 |
st.session_state.conversation = ""
|
| 75 |
|
| 76 |
-
with
|
| 77 |
if st.button("Ask"):
|
| 78 |
handle_submit()
|
| 79 |
|
|
|
|
| 62 |
st.write("Please enter a question.")
|
| 63 |
|
| 64 |
#st.title("Adrega AI Help")
|
|
|
|
| 65 |
|
| 66 |
+
col1, col2 = st.columns([3, 1])
|
|
|
|
| 67 |
|
| 68 |
+
|
| 69 |
+
st.text_input('Ask me a question', key='user_input', on_change=handle_submit)
|
| 70 |
+
|
| 71 |
+
with col1:
|
| 72 |
st.session_state.include_context = st.checkbox('Search in Help')
|
| 73 |
|
| 74 |
if 'conversation' not in st.session_state:
|
| 75 |
st.session_state.conversation = ""
|
| 76 |
|
| 77 |
+
with col2:
|
| 78 |
if st.button("Ask"):
|
| 79 |
handle_submit()
|
| 80 |
|