Spaces:
Build error
Build error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -195,9 +195,9 @@ if st.session_state.page == "evaluation":
|
|
| 195 |
img2 = img2.convert("L")
|
| 196 |
|
| 197 |
if pair[0][0] == "GT":
|
| 198 |
-
img2 =
|
| 199 |
else:
|
| 200 |
-
img1 =
|
| 201 |
|
| 202 |
col1, col2 = st.columns(2)
|
| 203 |
|
|
|
|
| 195 |
img2 = img2.convert("L")
|
| 196 |
|
| 197 |
if pair[0][0] == "GT":
|
| 198 |
+
img2 = match_brightness(img1, img2)
|
| 199 |
else:
|
| 200 |
+
img1 = match_brightness(img2, img1)
|
| 201 |
|
| 202 |
col1, col2 = st.columns(2)
|
| 203 |
|