SHAMIL SHAHBAZ AWAN commited on
Commit
6b5eb7c
·
verified ·
1 Parent(s): 5b45071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -50,6 +50,8 @@ st.markdown(
50
  .stTextInput input {{
51
  background-color: white;
52
  color: black;
 
 
53
  }}
54
 
55
  /* Set all output text (retrieved chunks and responses) to white */
@@ -150,7 +152,7 @@ if st.button("Process PDF"):
150
  process_and_store_document(file_path)
151
 
152
  # Query input for the user
153
- user_query = st.text_input("Enter your query:")
154
 
155
  if user_query:
156
  # Check if there are any chunks in the index
@@ -201,4 +203,4 @@ if user_query:
201
  st.error(f"Error generating response: {e}")
202
 
203
  # Footer
204
- st.markdown("<div class='footer'>Created by Shamil Shahbaz</div>", unsafe_allow_html=True)
 
50
  .stTextInput input {{
51
  background-color: white;
52
  color: black;
53
+ border-radius: 5px;
54
+ padding: 10px;
55
  }}
56
 
57
  /* Set all output text (retrieved chunks and responses) to white */
 
152
  process_and_store_document(file_path)
153
 
154
  # Query input for the user
155
+ user_query = st.text_input("Enter your query:", key="query_input")
156
 
157
  if user_query:
158
  # Check if there are any chunks in the index
 
203
  st.error(f"Error generating response: {e}")
204
 
205
  # Footer
206
+ st.markdown("<div class='footer'>Created by Shamil Shahbaz</div>", unsafe_allow_html=True)