Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ with app_tab:
|
|
88 |
if picture is not None:
|
89 |
with st.spinner("Analyzing face..."):
|
90 |
image_pil = Image.open(picture)
|
91 |
-
matches = prod_function(app, image_paths, image_pil)
|
92 |
|
93 |
if not matches:
|
94 |
st.warning("No face detected in the captured image.")
|
|
|
88 |
if picture is not None:
|
89 |
with st.spinner("Analyzing face..."):
|
90 |
image_pil = Image.open(picture)
|
91 |
+
matches, image_bgr = prod_function(app, image_paths, image_pil)
|
92 |
|
93 |
if not matches:
|
94 |
st.warning("No face detected in the captured image.")
|