Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,10 +82,12 @@ def attend():
|
|
| 82 |
|
| 83 |
img_file_buffer=st.camera_input("Take a picture")
|
| 84 |
if img_file_buffer is not None:
|
|
|
|
| 85 |
test_image=Image.open(img_file_buffer)
|
| 86 |
st.image(test_image)
|
| 87 |
|
| 88 |
if bytes_data is None:
|
|
|
|
| 89 |
st.stop()
|
| 90 |
|
| 91 |
# Call the function to run face recognition
|
|
|
|
| 82 |
|
| 83 |
img_file_buffer=st.camera_input("Take a picture")
|
| 84 |
if img_file_buffer is not None:
|
| 85 |
+
st.write("data ")
|
| 86 |
test_image=Image.open(img_file_buffer)
|
| 87 |
st.image(test_image)
|
| 88 |
|
| 89 |
if bytes_data is None:
|
| 90 |
+
st.write("nothing")
|
| 91 |
st.stop()
|
| 92 |
|
| 93 |
# Call the function to run face recognition
|