marrtinagg commited on
Commit
e010b3f
·
1 Parent(s): 4b80d99

add gradio interface with preprocessing and model prediction

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 src.preprocessing.zoom import apply_zoom
10
- from src.preprocessing.hair_removal import quitar_pelos
11
- from src.preprocessing.segmentation import segmentar_lesion
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