Commit
·
e010b3f
1
Parent(s):
4b80d99
add gradio interface with preprocessing and model prediction
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ from huggingface_hub import hf_hub_download
|
|
| 6 |
from tensorflow.keras.preprocessing import image
|
| 7 |
|
| 8 |
# === Importar funciones del pipeline ===
|
| 9 |
-
from
|
| 10 |
-
from
|
| 11 |
-
from
|
| 12 |
|
| 13 |
# Tamaño de entrada del modelo
|
| 14 |
ROWS, COLS = 224, 224
|
|
|
|
| 6 |
from tensorflow.keras.preprocessing import image
|
| 7 |
|
| 8 |
# === Importar funciones del pipeline ===
|
| 9 |
+
from preprocessing.zoom import apply_zoom
|
| 10 |
+
from preprocessing.hair_removal import quitar_pelos
|
| 11 |
+
from preprocessing.segmentation import segmentar_lesion
|
| 12 |
|
| 13 |
# Tamaño de entrada del modelo
|
| 14 |
ROWS, COLS = 224, 224
|