Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
Β·
8c0dd07
1
Parent(s):
ccd51f8
Update app file
Browse files
app.py
CHANGED
@@ -20,12 +20,12 @@ st.title('P&ID Object Detection')
|
|
20 |
st.subheader(' Identify valves and pumps with deep learning model ', divider='rainbow')
|
21 |
st.caption('Developed by Deep Drawings Co.')
|
22 |
|
23 |
-
col1, col2, col3 = st.columns(
|
24 |
-
with
|
25 |
with st.expander('How to use it'):
|
26 |
st.markdown(
|
27 |
'''
|
28 |
-
1) Upload your P&ID or
|
29 |
2) Set Confidence Threshold π
|
30 |
3) Press to Perform Inference π
|
31 |
4) Visualize Model Predictions π
|
@@ -34,8 +34,8 @@ with col2:
|
|
34 |
|
35 |
st.write('##')
|
36 |
|
37 |
-
col1, col2, col3, col4
|
38 |
-
with
|
39 |
st.markdown('##### Input File')
|
40 |
# set input image by upload
|
41 |
image_file = st.file_uploader("Upload your diagram", type=["pdf"])
|
|
|
20 |
st.subheader(' Identify valves and pumps with deep learning model ', divider='rainbow')
|
21 |
st.caption('Developed by Deep Drawings Co.')
|
22 |
|
23 |
+
col1, col2, col3, col4 = st.columns(4)
|
24 |
+
with col1:
|
25 |
with st.expander('How to use it'):
|
26 |
st.markdown(
|
27 |
'''
|
28 |
+
1) Upload your P&ID or select example diagrams π¬
|
29 |
2) Set Confidence Threshold π
|
30 |
3) Press to Perform Inference π
|
31 |
4) Visualize Model Predictions π
|
|
|
34 |
|
35 |
st.write('##')
|
36 |
|
37 |
+
col1, col2, col3, col4 = st.columns(4, gap='medium')
|
38 |
+
with col2:
|
39 |
st.markdown('##### Input File')
|
40 |
# set input image by upload
|
41 |
image_file = st.file_uploader("Upload your diagram", type=["pdf"])
|