Lee-Shang commited on
Commit
4826646
1 Parent(s): d266fc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -15
app.py CHANGED
@@ -161,6 +161,25 @@ with col1:
161
  st.image(image, width=200)
162
 
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  # submit button
165
  submit = st.button("Perform Prediction")
166
 
@@ -194,21 +213,8 @@ if submit:
194
  st.session_state["output_1"] = output_1
195
  st.session_state["output_2"] = output_2
196
 
197
-
198
-
199
- with col3:
200
- st.markdown(f"##### YOLOX Standard vs SARAI Prediction:")
201
- static_component = image_comparison(
202
- img1=st.session_state["output_1"],
203
- img2=st.session_state["output_2"],
204
- label1="YOLOX",
205
- label2="SARAI",
206
- width=700,
207
- starting_position=50,
208
- show_labels=True,
209
- make_responsive=True,
210
- in_memory=True,
211
- )
212
  st.markdown(f"##### Slide to Compare")
213
 
214
 
 
161
  st.image(image, width=200)
162
 
163
 
164
+
165
+
166
+
167
+ with col3:
168
+ st.markdown(f"##### YOLOX Standard vs SARAI Prediction:")
169
+ static_component = image_comparison(
170
+ img1=st.session_state["output_1"],
171
+ img2=st.session_state["output_2"],
172
+ label1="YOLOX",
173
+ label2="SARAI",
174
+ width=700,
175
+ starting_position=50,
176
+ show_labels=True,
177
+ make_responsive=True,
178
+ in_memory=True,
179
+ )
180
+
181
+ col1, col2, col3, col4, col5 = st.columns([1,2,3,2,2])
182
+ with col1:
183
  # submit button
184
  submit = st.button("Perform Prediction")
185
 
 
213
  st.session_state["output_1"] = output_1
214
  st.session_state["output_2"] = output_2
215
 
216
+
217
+ with col4:
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  st.markdown(f"##### Slide to Compare")
219
 
220