Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
1e935c6
1
Parent(s):
c5458df
Update app file
Browse files
app.py
CHANGED
@@ -110,15 +110,18 @@ with col2:
|
|
110 |
|
111 |
st.write('##')
|
112 |
|
113 |
-
st.
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
110 |
|
111 |
st.write('##')
|
112 |
|
113 |
+
col1, col2, col3 = st.columns([1, 3, 1])
|
114 |
+
with col2:
|
115 |
+
st.markdown(f"#### Object Detection Result")
|
116 |
+
with st.container(border = True):
|
117 |
+
static_component = image_comparison(
|
118 |
+
img1=st.session_state["output_1"],
|
119 |
+
img2=st.session_state["output_2"],
|
120 |
+
label1='Uploaded Diagram',
|
121 |
+
label2='Model Inference',
|
122 |
+
width=1000,
|
123 |
+
starting_position=50,
|
124 |
+
show_labels=True,
|
125 |
+
make_responsive=True,
|
126 |
+
in_memory=True,
|
127 |
+
)
|