Circularmachines
commited on
Commit
•
7f0d2be
1
Parent(s):
8ff0e42
updates
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):
|
|
110 |
|
111 |
|
112 |
|
113 |
-
col1, col2 = st.columns([
|
114 |
|
115 |
with col1:
|
116 |
|
@@ -155,14 +155,25 @@ with col1:
|
|
155 |
|
156 |
with col2:
|
157 |
# st.write("current selection:")
|
158 |
-
for i in
|
159 |
|
160 |
if i==0:
|
161 |
st.write("Target in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
162 |
else:
|
163 |
st.write("Match #"+str(i)+" in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
164 |
|
165 |
-
st.image(st.session_state["sideimg"][i]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
#st.write(st.session_state["sideix"][i])
|
168 |
|
|
|
110 |
|
111 |
|
112 |
|
113 |
+
col1, col2, col3= st.columns([4,1,1])
|
114 |
|
115 |
with col1:
|
116 |
|
|
|
155 |
|
156 |
with col2:
|
157 |
# st.write("current selection:")
|
158 |
+
for i in [0,2]:
|
159 |
|
160 |
if i==0:
|
161 |
st.write("Target in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
162 |
else:
|
163 |
st.write("Match #"+str(i)+" in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
164 |
|
165 |
+
st.image(st.session_state["sideimg"][i].resize((128,128)))
|
166 |
+
|
167 |
+
|
168 |
+
with col3:
|
169 |
+
# st.write("current selection:")
|
170 |
+
for i in [1,3]:
|
171 |
+
|
172 |
+
st.write("Match #"+str(i)+" in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
173 |
+
|
174 |
+
st.image(st.session_state["sideimg"][i].resize((128,128)))
|
175 |
+
|
176 |
+
#st.write(st.session_state["sideix"][i])
|
177 |
|
178 |
#st.write(st.session_state["sideix"][i])
|
179 |
|