Daniel Cerda Escobar commited on
Commit
8c0dd07
Β·
1 Parent(s): ccd51f8

Update app file

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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([10, 10, 10])
24
- with col2:
25
  with st.expander('How to use it'):
26
  st.markdown(
27
  '''
28
- 1) Upload your P&ID or Select Test Diagrams πŸ“¬
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, col5 = st.columns([8, 2, 8, 2, 8])
38
- with col1:
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"])