simon0820 commited on
Commit
04a1065
1 Parent(s): 27532e5

agregar texto

Browse files
Files changed (2) hide show
  1. app.py +5 -12
  2. requiremets.txt +1 -2
app.py CHANGED
@@ -5,17 +5,8 @@ import cv2
5
  from huggingface_hub import from_pretrained_keras
6
 
7
  st.header("Segmentación de dientes con rayos X")
8
-
9
- st.markdown('''
10
-
11
- Hola estudiantes de Platzi 🚀. Este modelo usan UNet para segmentar imágenes
12
- de dientos en rayos X. Se utila un modelo de Keras importado con la función
13
- `huggingface_hub.from_pretrained_keras`. Recuerda que el Hub de Hugging Face está integrado
14
- con muchas librerías como Keras, scikit-learn, fastai y otras.
15
-
16
- El modelo fue creado por [SerdarHelli](https://huggingface.co/SerdarHelli/Segmentation-of-Teeth-in-Panoramic-X-ray-Image-Using-U-Net).
17
-
18
- ''')
19
 
20
  model_id = "SerdarHelli/Segmentation-of-Teeth-in-Panoramic-X-ray-Image-Using-U-Net"
21
  model=from_pretrained_keras(model_id)
@@ -67,4 +58,6 @@ if image_file is not None:
67
  if output is not None :
68
  st.subheader("Segmentación:")
69
  st.write(output.shape)
70
- st.image(output,width=850)
 
 
 
5
  from huggingface_hub import from_pretrained_keras
6
 
7
  st.header("Segmentación de dientes con rayos X")
8
+ st.subheader("Esta es una iteración para mejorar el demo")
9
+ st.markdown("""Este es un demo prueba""")
 
 
 
 
 
 
 
 
 
10
 
11
  model_id = "SerdarHelli/Segmentation-of-Teeth-in-Panoramic-X-ray-Image-Using-U-Net"
12
  model=from_pretrained_keras(model_id)
 
58
  if output is not None :
59
  st.subheader("Segmentación:")
60
  st.write(output.shape)
61
+ st.image(output,width=850)
62
+
63
+ st.markdown("Gracias por usar el demo.")
requiremets.txt CHANGED
@@ -2,5 +2,4 @@ numpy
2
  Pillow
3
  scipy
4
  opencv-python
5
- tensorflow
6
- opencv
 
2
  Pillow
3
  scipy
4
  opencv-python
5
+ tensorflow