Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
from PIL import Image, ImageEnhance, ImageFilter
|
| 3 |
import numpy as np
|
| 4 |
import io
|
| 5 |
|
|
@@ -71,7 +71,7 @@ if uploaded_file is not None:
|
|
| 71 |
|
| 72 |
img = crop_image(img, left, top, right, bottom)
|
| 73 |
|
| 74 |
-
# Display updated image
|
| 75 |
st.image(img, caption="Edited Image", use_column_width=True)
|
| 76 |
|
| 77 |
# Download the edited image
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from PIL import Image, ImageEnhance, ImageFilter
|
| 3 |
import numpy as np
|
| 4 |
import io
|
| 5 |
|
|
|
|
| 71 |
|
| 72 |
img = crop_image(img, left, top, right, bottom)
|
| 73 |
|
| 74 |
+
# Display updated image after all adjustments
|
| 75 |
st.image(img, caption="Edited Image", use_column_width=True)
|
| 76 |
|
| 77 |
# Download the edited image
|