Tuana commited on
Commit
cc45b63
1 Parent(s): fd45ec1

adding button

Browse files
Files changed (2) hide show
  1. Home.py +1 -6
  2. README.md +1 -1
Home.py CHANGED
@@ -47,13 +47,8 @@ def main():
47
  statement = st.text_input(
48
  "", value=st.session_state.statement, max_chars=100, on_change=reset_results
49
  )
50
-
51
- col1, col2 = st.columns(2)
52
- col1.markdown(
53
- "<style>.stButton button {width:100%;}</style>", unsafe_allow_html=True
54
- )
55
 
56
- run_pressed = col1.button("Run")
57
 
58
  run_query = (
59
  run_pressed or statement != st.session_state.statement
 
47
  statement = st.text_input(
48
  "", value=st.session_state.statement, max_chars=100, on_change=reset_results
49
  )
 
 
 
 
 
50
 
51
+ run_pressed = st.button("Run")
52
 
53
  run_query = (
54
  run_pressed or statement != st.session_state.statement
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😽
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: streamlit
7
- sdk_version: 1.10.0
8
  app_file: Home.py
9
  pinned: false
10
  ---
 
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: streamlit
7
+ sdk_version: 1.12.0
8
  app_file: Home.py
9
  pinned: false
10
  ---