Spaces:
Runtime error
Runtime error
shengqiangShi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ model=tf.keras.models.load_model("dental_xray_seg.h5")
|
|
11 |
|
12 |
st.header("Segmentation of Teeth in Panoramic X-ray Image")
|
13 |
|
14 |
-
examples=["
|
15 |
|
16 |
def load_image(image_file):
|
17 |
img = Image.open(image_file)
|
@@ -193,7 +193,7 @@ if image_file is not None:
|
|
193 |
st.write(cca_result.shape)
|
194 |
st.image(cca_result,width=1100)
|
195 |
|
196 |
-
st.text("Teeth Count = " + str(teeth_count))
|
197 |
|
198 |
st.text("DONE ! ....")
|
199 |
|
|
|
11 |
|
12 |
st.header("Segmentation of Teeth in Panoramic X-ray Image")
|
13 |
|
14 |
+
examples=["107.png","108.png","109.png"]
|
15 |
|
16 |
def load_image(image_file):
|
17 |
img = Image.open(image_file)
|
|
|
193 |
st.write(cca_result.shape)
|
194 |
st.image(cca_result,width=1100)
|
195 |
|
196 |
+
# st.text("Teeth Count = " + str(teeth_count))
|
197 |
|
198 |
st.text("DONE ! ....")
|
199 |
|