Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,6 +120,7 @@ if st.session_state.screen == 1:
|
|
| 120 |
if st.button(f"Select Image β", key="button_1"):
|
| 121 |
st.session_state.image = img_1
|
| 122 |
st.session_state.screen = 2
|
|
|
|
| 123 |
with row2_col2:
|
| 124 |
img_2 = Image.open(image_path + "IMG_5357.JPG")
|
| 125 |
img_2 = ImageOps.exif_transpose(img_2)
|
|
@@ -127,6 +128,7 @@ if st.session_state.screen == 1:
|
|
| 127 |
if st.button(f"Select Image β", key="button_2"):
|
| 128 |
st.session_state.image = img_2
|
| 129 |
st.session_state.screen = 2
|
|
|
|
| 130 |
with row2_col3:
|
| 131 |
img_3 = Image.open(image_path + "IMG_5368.JPG")
|
| 132 |
img_3 = ImageOps.exif_transpose(img_3)
|
|
@@ -134,6 +136,7 @@ if st.session_state.screen == 1:
|
|
| 134 |
if st.button(f"Select Image β", key="button_3"):
|
| 135 |
st.session_state.image = img_3
|
| 136 |
st.session_state.screen = 2
|
|
|
|
| 137 |
with row2_col4:
|
| 138 |
img_4 = Image.open(image_path + "IMG_5369.JPG")
|
| 139 |
img_4 = ImageOps.exif_transpose(img_4)
|
|
@@ -141,6 +144,7 @@ if st.session_state.screen == 1:
|
|
| 141 |
if st.button(f"Select Image β", key="button_4"):
|
| 142 |
st.session_state.image = img_4
|
| 143 |
st.session_state.screen = 2
|
|
|
|
| 144 |
with row3_col1:
|
| 145 |
img_5 = Image.open(image_path + "IMG_5382.JPG")
|
| 146 |
img_5 = ImageOps.exif_transpose(img_5)
|
|
@@ -148,6 +152,7 @@ if st.session_state.screen == 1:
|
|
| 148 |
if st.button(f"Select Image β", key="button_5"):
|
| 149 |
st.session_state.image = img_5
|
| 150 |
st.session_state.screen = 2
|
|
|
|
| 151 |
with row3_col2:
|
| 152 |
img_6 = Image.open(image_path + "IMG_5383.JPG")
|
| 153 |
img_6 = ImageOps.exif_transpose(img_6)
|
|
@@ -155,6 +160,7 @@ if st.session_state.screen == 1:
|
|
| 155 |
if st.button(f"Select Image β", key="button_6"):
|
| 156 |
st.session_state.image = img_6
|
| 157 |
st.session_state.screen = 2
|
|
|
|
| 158 |
with row3_col3:
|
| 159 |
img_7 = Image.open(image_path + "IMG_5408.JPG")
|
| 160 |
img_7 = ImageOps.exif_transpose(img_7)
|
|
@@ -162,6 +168,7 @@ if st.session_state.screen == 1:
|
|
| 162 |
if st.button(f"Select Image β", key="button_7"):
|
| 163 |
st.session_state.image = img_7
|
| 164 |
st.session_state.screen = 2
|
|
|
|
| 165 |
with row3_col4:
|
| 166 |
img_8 = Image.open(image_path + "IMG_5409.JPG")
|
| 167 |
img_8 = ImageOps.exif_transpose(img_8)
|
|
@@ -169,6 +176,7 @@ if st.session_state.screen == 1:
|
|
| 169 |
if st.button(f"Select Image β", key="button_8"):
|
| 170 |
st.session_state.image = img_8
|
| 171 |
st.session_state.screen = 2
|
|
|
|
| 172 |
|
| 173 |
#####
|
| 174 |
###
|
|
|
|
| 120 |
if st.button(f"Select Image β", key="button_1"):
|
| 121 |
st.session_state.image = img_1
|
| 122 |
st.session_state.screen = 2
|
| 123 |
+
st.rerun()
|
| 124 |
with row2_col2:
|
| 125 |
img_2 = Image.open(image_path + "IMG_5357.JPG")
|
| 126 |
img_2 = ImageOps.exif_transpose(img_2)
|
|
|
|
| 128 |
if st.button(f"Select Image β", key="button_2"):
|
| 129 |
st.session_state.image = img_2
|
| 130 |
st.session_state.screen = 2
|
| 131 |
+
st.rerun()
|
| 132 |
with row2_col3:
|
| 133 |
img_3 = Image.open(image_path + "IMG_5368.JPG")
|
| 134 |
img_3 = ImageOps.exif_transpose(img_3)
|
|
|
|
| 136 |
if st.button(f"Select Image β", key="button_3"):
|
| 137 |
st.session_state.image = img_3
|
| 138 |
st.session_state.screen = 2
|
| 139 |
+
st.rerun()
|
| 140 |
with row2_col4:
|
| 141 |
img_4 = Image.open(image_path + "IMG_5369.JPG")
|
| 142 |
img_4 = ImageOps.exif_transpose(img_4)
|
|
|
|
| 144 |
if st.button(f"Select Image β", key="button_4"):
|
| 145 |
st.session_state.image = img_4
|
| 146 |
st.session_state.screen = 2
|
| 147 |
+
st.rerun()
|
| 148 |
with row3_col1:
|
| 149 |
img_5 = Image.open(image_path + "IMG_5382.JPG")
|
| 150 |
img_5 = ImageOps.exif_transpose(img_5)
|
|
|
|
| 152 |
if st.button(f"Select Image β", key="button_5"):
|
| 153 |
st.session_state.image = img_5
|
| 154 |
st.session_state.screen = 2
|
| 155 |
+
st.rerun()
|
| 156 |
with row3_col2:
|
| 157 |
img_6 = Image.open(image_path + "IMG_5383.JPG")
|
| 158 |
img_6 = ImageOps.exif_transpose(img_6)
|
|
|
|
| 160 |
if st.button(f"Select Image β", key="button_6"):
|
| 161 |
st.session_state.image = img_6
|
| 162 |
st.session_state.screen = 2
|
| 163 |
+
st.rerun()
|
| 164 |
with row3_col3:
|
| 165 |
img_7 = Image.open(image_path + "IMG_5408.JPG")
|
| 166 |
img_7 = ImageOps.exif_transpose(img_7)
|
|
|
|
| 168 |
if st.button(f"Select Image β", key="button_7"):
|
| 169 |
st.session_state.image = img_7
|
| 170 |
st.session_state.screen = 2
|
| 171 |
+
st.rerun()
|
| 172 |
with row3_col4:
|
| 173 |
img_8 = Image.open(image_path + "IMG_5409.JPG")
|
| 174 |
img_8 = ImageOps.exif_transpose(img_8)
|
|
|
|
| 176 |
if st.button(f"Select Image β", key="button_8"):
|
| 177 |
st.session_state.image = img_8
|
| 178 |
st.session_state.screen = 2
|
| 179 |
+
st.rerun()
|
| 180 |
|
| 181 |
#####
|
| 182 |
###
|