Commit
·
cd2368d
1
Parent(s):
686e70d
Update app.py
Browse files
app.py
CHANGED
@@ -293,7 +293,13 @@ def predict(img):
|
|
293 |
return Image.fromarray(mask.astype('uint8'))
|
294 |
|
295 |
def predict_full(img):
|
296 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
base_f = "."
|
298 |
pro_f = "processing"
|
299 |
rsw_f = "results_windows"
|
|
|
293 |
return Image.fromarray(mask.astype('uint8'))
|
294 |
|
295 |
def predict_full(img):
|
296 |
+
# Obtener la ruta actual
|
297 |
+
ruta_actual = Path(".")
|
298 |
+
|
299 |
+
# Imprimir la ruta actual en la consola
|
300 |
+
print(f"La ruta actual es: {ruta_actual.resolve()}")
|
301 |
+
|
302 |
+
single_image_path = "/usr/var/tmp.tif"
|
303 |
base_f = "."
|
304 |
pro_f = "processing"
|
305 |
rsw_f = "results_windows"
|