Arslan7788 commited on
Commit
3ac9231
1 Parent(s): a5154de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -10,7 +10,7 @@ try:
10
  except:
11
  model=tf.keras.models.load_model("dental_xray_seg.h5")
12
  pass
13
- st.header("Segmentation of Teeth in Panoramic X-ray Image Using UNet")
14
 
15
  examples=["107.png"]
16
  def load_image(image_file):
@@ -32,15 +32,9 @@ def convert_rgb(img):
32
  return img
33
  else:
34
  return img
35
-
36
-
37
  st.subheader("Upload Dental Panoramic X-ray Image Image")
38
  image_file = st.file_uploader("Upload Images", type=["png","jpg","jpeg"])
39
-
40
-
41
- col1 = st.columns(0)
42
- with col1:
43
- ex=load_image(examples[0])
44
  st.image(ex,width=200)
45
  if st.button('Example 1'):
46
  image_file=examples[0]
 
10
  except:
11
  model=tf.keras.models.load_model("dental_xray_seg.h5")
12
  pass
13
+ st.header("Teeth segmentation X-ray Image Using Machine learning")
14
 
15
  examples=["107.png"]
16
  def load_image(image_file):
 
32
  return img
33
  else:
34
  return img
 
 
35
  st.subheader("Upload Dental Panoramic X-ray Image Image")
36
  image_file = st.file_uploader("Upload Images", type=["png","jpg","jpeg"])
37
+ ex=load_image(examples)
 
 
 
 
38
  st.image(ex,width=200)
39
  if st.button('Example 1'):
40
  image_file=examples[0]