Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,5 +89,5 @@ if uploaded_file is not None:
|
|
89 |
# Display the final processed image
|
90 |
# st.image(final_image, caption='Processed Image', use_column_width=True)
|
91 |
img_bytes = io.BytesIO()
|
92 |
-
|
93 |
-
|
|
|
89 |
# Display the final processed image
|
90 |
# st.image(final_image, caption='Processed Image', use_column_width=True)
|
91 |
img_bytes = io.BytesIO()
|
92 |
+
detect_and_process_skin(image1.getvalue()).save(img_bytes, format='JPEG')
|
93 |
+
st.image(img_bytes.getvalue(), width=250, caption="Processed Image")
|