Bhargavitippareddy commited on
Commit
cc702b4
·
verified ·
1 Parent(s): d91ade3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,11 +69,11 @@ def detect_and_predict(image_input):
69
  return Image.fromarray(image_np), confidence, label
70
 
71
  # App UI
72
- st.title("😷 Intelligent Mask Detection Platform")
73
  st.markdown("Upload a face image or use your webcam to check if a mask is being worn.")
74
 
75
  # Tabs
76
- tab1, tab2 = st.tabs(["📤 Upload Image", "📷 Use Webcam"])
77
 
78
  with tab1:
79
  uploaded_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
 
69
  return Image.fromarray(image_np), confidence, label
70
 
71
  # App UI
72
+ st.title("Face Mask Detection")
73
  st.markdown("Upload a face image or use your webcam to check if a mask is being worn.")
74
 
75
  # Tabs
76
+ tab1, tab2 = st.tabs([" Upload Image", "Use Webcam"])
77
 
78
  with tab1:
79
  uploaded_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])