Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
89c2009
1
Parent(s):
a9de91a
Reshape Image
Browse files
app.py
CHANGED
|
@@ -49,11 +49,11 @@ download_comparison_images()
|
|
| 49 |
|
| 50 |
if "output_1" not in st.session_state:
|
| 51 |
with Image.open('plant_pid.png') as img_1:
|
| 52 |
-
st.session_state["output_1"] = img_1.load
|
| 53 |
|
| 54 |
if "output_2" not in st.session_state:
|
| 55 |
with Image.open('prediction_visual.png') as img_2:
|
| 56 |
-
st.session_state["output_2"] = img_2.load
|
| 57 |
|
| 58 |
col1, col2, col3 = st.columns(3, gap='medium')
|
| 59 |
with col1:
|
|
|
|
| 49 |
|
| 50 |
if "output_1" not in st.session_state:
|
| 51 |
with Image.open('plant_pid.png') as img_1:
|
| 52 |
+
st.session_state["output_1"] = img_1.load()
|
| 53 |
|
| 54 |
if "output_2" not in st.session_state:
|
| 55 |
with Image.open('prediction_visual.png') as img_2:
|
| 56 |
+
st.session_state["output_2"] = img_2.load()
|
| 57 |
|
| 58 |
col1, col2, col3 = st.columns(3, gap='medium')
|
| 59 |
with col1:
|