Daniel Cerda Escobar commited on
Commit
96b4bfb
Β·
1 Parent(s): a3cfe41

Update app file

Browse files
Files changed (1) hide show
  1. app.py +18 -11
app.py CHANGED
@@ -7,30 +7,37 @@ st.set_page_config(
7
  )
8
 
9
  st.title('P&ID Object Detection App')
10
- st.subheader(' Deep learning model able to identify valves and pumps', divider='rainbow')
11
  st.caption('Developed by Deep Drawings Co.')
12
 
13
  st.write('##')
14
 
15
- col1, col2, col3 = st.columns([10, 10, 10])
16
- with col1:
17
- with st.expander("Usage"):
18
- st.markdown(
 
 
 
 
 
 
 
 
 
 
19
  '''
20
  1. Upload your P&ID or Select Test Diagrams
21
  2. Set Confidence Threshold
22
  3. Press to Perform Inference πŸš€
23
  4. Visualize Model Predictions
24
- '''
25
  )
26
 
27
- st.write('##')
28
 
29
  col1, col2, col3 = st.columns([10, 10, 10])
30
  with col1:
31
  st.markdown(f"##### Upload your File:")
32
-
33
  # set input image by upload
34
- image_file = st.file_uploader(
35
- "Upload your diagram:", type=["pdf"]
36
- )
 
7
  )
8
 
9
  st.title('P&ID Object Detection App')
10
+ st.subheader(' Identify valves and pumps with deep learning model', divider='rainbow')
11
  st.caption('Developed by Deep Drawings Co.')
12
 
13
  st.write('##')
14
 
15
+ #col1, col2, col3 = st.columns([10, 10, 10])
16
+ #with col1:
17
+ # with st.expander("Usage"):
18
+ # st.markdown(
19
+ # '''
20
+ # 1. Upload your P&ID or Select Test Diagrams
21
+ # 2. Set Confidence Threshold
22
+ # 3. Press to Perform Inference πŸš€
23
+ # 4. Visualize Model Predictions
24
+ # '''
25
+ # )
26
+
27
+ with st.sidebar:
28
+ st.markdown(
29
  '''
30
  1. Upload your P&ID or Select Test Diagrams
31
  2. Set Confidence Threshold
32
  3. Press to Perform Inference πŸš€
33
  4. Visualize Model Predictions
34
+ '''
35
  )
36
 
37
+ st.write('##')
38
 
39
  col1, col2, col3 = st.columns([10, 10, 10])
40
  with col1:
41
  st.markdown(f"##### Upload your File:")
 
42
  # set input image by upload
43
+ image_file = st.file_uploader("Upload your diagram:", type=["pdf"])