Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -176,23 +176,6 @@ if submit:
|
|
176 |
|
177 |
image_size = 416
|
178 |
|
179 |
-
|
180 |
-
with col3:
|
181 |
-
st.markdown(f"##### YOLOX Standard vs SAHI Prediction:")
|
182 |
-
static_component = image_comparison(
|
183 |
-
img1=st.session_state["output_1"],
|
184 |
-
img2=st.session_state["output_2"],
|
185 |
-
label1="YOLOX",
|
186 |
-
label2="SAHI+YOLOX",
|
187 |
-
width=700,
|
188 |
-
starting_position=50,
|
189 |
-
show_labels=True,
|
190 |
-
make_responsive=True,
|
191 |
-
in_memory=True,
|
192 |
-
)
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
with st.spinner(
|
197 |
text="Performing prediction.. " + st.session_state["last_spinner_texts"].get()
|
198 |
):
|
@@ -215,3 +198,20 @@ with col3:
|
|
215 |
|
216 |
|
217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
|
177 |
image_size = 416
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
with st.spinner(
|
180 |
text="Performing prediction.. " + st.session_state["last_spinner_texts"].get()
|
181 |
):
|
|
|
198 |
|
199 |
|
200 |
|
201 |
+
with col3:
|
202 |
+
st.markdown(f"##### YOLOX Standard vs SAHI Prediction:")
|
203 |
+
static_component = image_comparison(
|
204 |
+
img1=st.session_state["output_1"],
|
205 |
+
img2=st.session_state["output_2"],
|
206 |
+
label1="YOLOX",
|
207 |
+
label2="SAHI+YOLOX",
|
208 |
+
width=700,
|
209 |
+
starting_position=50,
|
210 |
+
show_labels=True,
|
211 |
+
make_responsive=True,
|
212 |
+
in_memory=True,
|
213 |
+
)
|
214 |
+
|
215 |
+
|
216 |
+
|
217 |
+
|