calmgoose commited on
Commit
8716dc1
·
1 Parent(s): 8d7b2ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -123,10 +123,14 @@ def get_text():
123
 
124
  user_input = get_text()
125
 
 
 
126
  # show question
127
- st.write(f"**You: {user_input}**")
 
 
 
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