Update app.py
Browse files
app.py
CHANGED
@@ -123,10 +123,14 @@ def get_text():
|
|
123 |
|
124 |
user_input = get_text()
|
125 |
|
|
|
|
|
126 |
# show question
|
127 |
-
|
|
|
|
|
|
|
128 |
|
129 |
-
ask = st.button("Ask")
|
130 |
|
131 |
if ask:
|
132 |
|
|
|
123 |
|
124 |
user_input = get_text()
|
125 |
|
126 |
+
col1, col2 = st.columns([10, 1])
|
127 |
+
|
128 |
# show question
|
129 |
+
col1.write(f"**You:** {user_input}")
|
130 |
+
|
131 |
+
# ask button to the right of the displayed question
|
132 |
+
ask = col2.button("Ask")
|
133 |
|
|
|
134 |
|
135 |
if ask:
|
136 |
|