Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def remove_reflection(image_path):
|
|
| 23 |
return result_image
|
| 24 |
|
| 25 |
# Streamlit app
|
| 26 |
-
st.title("Reflection Removal App")
|
| 27 |
|
| 28 |
uploaded_file = st.file_uploader("Choose a file", type=["jpg", "jpeg", "png"])
|
| 29 |
|
|
@@ -37,7 +37,7 @@ if uploaded_file is not None:
|
|
| 37 |
image = Image.open(tmp_file_path)
|
| 38 |
st.image(image, caption='Uploaded Image', use_column_width=True)
|
| 39 |
|
| 40 |
-
if st.button('Remove Reflection'):
|
| 41 |
result_image = remove_reflection(tmp_file_path)
|
| 42 |
st.image(result_image, caption='Processed Image', use_column_width=True)
|
| 43 |
|
|
|
|
| 23 |
return result_image
|
| 24 |
|
| 25 |
# Streamlit app
|
| 26 |
+
st.title("Reflection Removal App")'''
|
| 27 |
|
| 28 |
uploaded_file = st.file_uploader("Choose a file", type=["jpg", "jpeg", "png"])
|
| 29 |
|
|
|
|
| 37 |
image = Image.open(tmp_file_path)
|
| 38 |
st.image(image, caption='Uploaded Image', use_column_width=True)
|
| 39 |
|
| 40 |
+
'''if st.button('Remove Reflection'):
|
| 41 |
result_image = remove_reflection(tmp_file_path)
|
| 42 |
st.image(result_image, caption='Processed Image', use_column_width=True)
|
| 43 |
|