Daniel Cerda Escobar commited on
Commit
1e935c6
·
1 Parent(s): c5458df

Update app file

Browse files
Files changed (1) hide show
  1. app.py +15 -12
app.py CHANGED
@@ -110,15 +110,18 @@ with col2:
110
 
111
  st.write('##')
112
 
113
- st.markdown(f"##### Uploaded Diagram vs Object Detection:")
114
- static_component = image_comparison(
115
- img1=st.session_state["output_1"],
116
- img2=st.session_state["output_2"],
117
- label1='Uploaded Diagram',
118
- label2='Model Inference',
119
- width=700,
120
- starting_position=50,
121
- show_labels=True,
122
- make_responsive=True,
123
- in_memory=True,
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
+ )