lhofstetter commited on
Commit
f2a8508
·
verified ·
1 Parent(s): 9032a96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -5
app.py CHANGED
@@ -3,8 +3,24 @@ import os
3
  import glob
4
  import cv2
5
 
6
- st.title('Hello Urs')
7
- st.text(os.getcwd())
8
- st.text(glob.glob(f'{os.getcwd()}/*.png')[0])
9
- img_array = cv2.imread(glob.glob(f'{os.getcwd()}/*.png')[0])
10
- st.image(img_array)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  import glob
4
  import cv2
5
 
6
+ image_emoji = '📷'
7
+ model_emoji = '⚙️'
8
+ profile_emoji = '📈'
9
+ st.title('PantoScan')
10
+
11
+ tab1, tab2, tab3 = st.tabs([f'{image_emoji} Image', f'{model_emoji} Mask', f'{profile_emoji} Measurement'])
12
+
13
+ with tab1:
14
+ st.header(f'Source Image')
15
+ img_array = cv2.imread(glob.glob(f'{os.getcwd()}/*.png')[0])
16
+ st.image(img_array)
17
+
18
+ with tab2:
19
+ st.header(f'Model Output')
20
+ #st.image("https://static.streamlit.io/examples/dog.jpg", width=200)
21
+
22
+ with tab3:
23
+ st.header(f'Profile Height')
24
+ #st.image("https://static.streamlit.io/examples/owl.jpg", width=200)
25
+
26
+