santenana
commited on
Commit
路
46235b5
1
Parent(s):
ee3ccd8
se agrego un texto
Browse files
app.py
CHANGED
|
@@ -5,14 +5,10 @@ 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 |
-
|
| 12 |
-
de dientes 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 |
-
El modelo fue creado por [SerdarHelli](https://huggingface.co/SerdarHelli/Segmentation-of-Teeth-in-Panoramic-X-ray-Image-Using-U-Net).
|
| 16 |
"""
|
| 17 |
)
|
| 18 |
|
|
@@ -102,4 +98,7 @@ if archivo_imagen is not None:
|
|
| 102 |
if output is not None:
|
| 103 |
st.subheader("Segmentaci贸n:")
|
| 104 |
st.write(output.shape)
|
| 105 |
-
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("Este es una iteracion para mejorar el demo")
|
| 9 |
st.markdown(
|
| 10 |
"""
|
| 11 |
+
Este es un demo para la clase de platzi de huggin faces
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"""
|
| 13 |
)
|
| 14 |
|
|
|
|
| 98 |
if output is not None:
|
| 99 |
st.subheader("Segmentaci贸n:")
|
| 100 |
st.write(output.shape)
|
| 101 |
+
st.image(output, width=850)
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
st.markdown("Gracias por usar este demo :3")
|