RajaThor commited on
Commit
0a0f04e
Β·
verified Β·
1 Parent(s): 28d10a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -211,7 +211,7 @@ def send_feedback(feedback_data):
211
 
212
  # Streamlit interface for adding a person
213
  def add_person_ui():
214
- st.title("Add Person")
215
  name = st.text_input("Enter Name", help="Enter the name of the person")
216
  image_path = st.file_uploader("Upload Image", help="Upload an image containing the person's face")
217
  email = st.text_input("Enter Email (Optional)", help="Enter the person's email address (optional)")
@@ -225,7 +225,7 @@ def add_person_ui():
225
 
226
  # Streamlit interface for recognizing face
227
  def recognize_face_ui():
228
- st.title("Recognize Face")
229
  image_path = st.file_uploader("Upload Image", help="Upload an image for face recognition")
230
  if st.button("Recognize Face"):
231
  result = recognize_face(image_path)
@@ -239,7 +239,7 @@ def recognize_face_ui():
239
  st.write(f"Email: {email}")
240
 
241
  def recognize_face_optimal_ui():
242
- st.title("Recognize Face (Optimal)")
243
  image_path = st.file_uploader("Upload Image", help="Upload an image for optimal face recognition")
244
  if st.button("Recognize Face (Optimal)"):
245
  result = recognize_face_optimal(image_path)
@@ -250,7 +250,7 @@ def recognize_face_optimal_ui():
250
 
251
  # Streamlit interface for deleting a person
252
  def delete_person_ui():
253
- st.title("Delete Person")
254
  name = st.text_input("Enter Name", help="Enter the name of the person to delete")
255
  if st.button("Delete Person"):
256
  if not name:
@@ -261,7 +261,7 @@ def delete_person_ui():
261
 
262
  # Streamlit interface for feedback
263
  def feedback_ui():
264
- st.title("Feedback")
265
  st.write("Your feedback is important to us! Please fill out the form below:")
266
 
267
  name = st.text_input("Name (optional)")
@@ -331,7 +331,7 @@ def view_messages_ui():
331
 
332
  # Streamlit interface for messenger using tabs
333
  def messenger_ui():
334
- st.title("Messenger")
335
  tabs = st.columns(2)
336
  if tabs[0].button("Send Message"):
337
  st.session_state["messenger_tab"] = "Send Message"
@@ -347,7 +347,7 @@ def messenger_ui():
347
  #end of messaging section
348
 
349
  def tour_guide_ui():
350
- st.title("Tour Guide")
351
  st.markdown("This tour will guide you through the application.")
352
 
353
  with st.expander("Welcome"):
 
211
 
212
  # Streamlit interface for adding a person
213
  def add_person_ui():
214
+ st.title("😎 Add Person")
215
  name = st.text_input("Enter Name", help="Enter the name of the person")
216
  image_path = st.file_uploader("Upload Image", help="Upload an image containing the person's face")
217
  email = st.text_input("Enter Email (Optional)", help="Enter the person's email address (optional)")
 
225
 
226
  # Streamlit interface for recognizing face
227
  def recognize_face_ui():
228
+ st.title("πŸ” Recognize Face")
229
  image_path = st.file_uploader("Upload Image", help="Upload an image for face recognition")
230
  if st.button("Recognize Face"):
231
  result = recognize_face(image_path)
 
239
  st.write(f"Email: {email}")
240
 
241
  def recognize_face_optimal_ui():
242
+ st.title("πŸ” Recognize Face (Optimal)")
243
  image_path = st.file_uploader("Upload Image", help="Upload an image for optimal face recognition")
244
  if st.button("Recognize Face (Optimal)"):
245
  result = recognize_face_optimal(image_path)
 
250
 
251
  # Streamlit interface for deleting a person
252
  def delete_person_ui():
253
+ st.title("πŸ—‘οΈ Delete Person")
254
  name = st.text_input("Enter Name", help="Enter the name of the person to delete")
255
  if st.button("Delete Person"):
256
  if not name:
 
261
 
262
  # Streamlit interface for feedback
263
  def feedback_ui():
264
+ st.title("✍️ Feedback")
265
  st.write("Your feedback is important to us! Please fill out the form below:")
266
 
267
  name = st.text_input("Name (optional)")
 
331
 
332
  # Streamlit interface for messenger using tabs
333
  def messenger_ui():
334
+ st.title("πŸ’¬ Messenger")
335
  tabs = st.columns(2)
336
  if tabs[0].button("Send Message"):
337
  st.session_state["messenger_tab"] = "Send Message"
 
347
  #end of messaging section
348
 
349
  def tour_guide_ui():
350
+ st.title("πŸ—ΊοΈ Tour Guide")
351
  st.markdown("This tour will guide you through the application.")
352
 
353
  with st.expander("Welcome"):