rohitdiwane commited on
Commit
26b74d2
·
verified ·
1 Parent(s): 8843fcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -92,11 +92,11 @@ def get_file_info(user_title):
92
  # Main app container
93
  # st.markdown('<div class="search-container">', unsafe_allow_html=True)
94
 
95
- # Enhanced search interface
96
- col1, col2 = st.columns([4, 1])
 
97
  with col1:
98
  user_title = st.text_input("Enter the book title:")
99
- with col2:
100
  search_button = st.button("🔍 Search", use_container_width=True)
101
 
102
  st.markdown('</div>', unsafe_allow_html=True)
 
92
  # Main app container
93
  # st.markdown('<div class="search-container">', unsafe_allow_html=True)
94
 
95
+ # Main app container
96
+ col1 = st.container() # Use a single container for both input and button
97
+
98
  with col1:
99
  user_title = st.text_input("Enter the book title:")
 
100
  search_button = st.button("🔍 Search", use_container_width=True)
101
 
102
  st.markdown('</div>', unsafe_allow_html=True)