espejelomar commited on
Commit
e488440
1 Parent(s): 7c117c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -29,15 +29,14 @@ def convert_one_channel(img):
29
  return img
30
 
31
 
32
- st.subheader("Upload Dental Panoramic X-ray Image Image")
33
- image_file = st.file_uploader("Upload Images", type=["png","jpg","jpeg"])
34
 
35
 
36
  if image_file is not None:
37
 
38
  img= Image.open(image_file)
39
 
40
- st.text("Making A Prediction ....")
41
  st.image(img,width=850)
42
 
43
  img=np.asarray(img)
@@ -60,8 +59,6 @@ if image_file is not None:
60
 
61
 
62
  if output is not None :
63
- st.subheader("Predicted Image")
64
  st.write(output.shape)
65
- st.image(output,width=850)
66
-
67
- st.text("DONE ! ....")
 
29
  return img
30
 
31
 
32
+ image_file = st.file_uploader("Sube aquí tu imagen.", type=["png","jpg","jpeg"])
 
33
 
34
 
35
  if image_file is not None:
36
 
37
  img= Image.open(image_file)
38
 
39
+ st.text("Segmentando...")
40
  st.image(img,width=850)
41
 
42
  img=np.asarray(img)
 
59
 
60
 
61
  if output is not None :
62
+ st.subheader("Segmentación:")
63
  st.write(output.shape)
64
+ st.image(output,width=850)