Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ import pandas as pd # Para formatear la salida en tabla
|
|
17 |
MODEL_REPO_ID = "google/cxr-foundation"
|
18 |
MODEL_DOWNLOAD_DIR = './hf_cxr_foundation_space' # Directorio dentro del contenedor del Space
|
19 |
# Umbrales
|
20 |
-
SIMILARITY_DIFFERENCE_THRESHOLD = 0.
|
21 |
-
POSITIVE_SIMILARITY_THRESHOLD = 0.
|
22 |
print(f"Usando umbrales: Comp Δ={SIMILARITY_DIFFERENCE_THRESHOLD}, Simp τ={POSITIVE_SIMILARITY_THRESHOLD}")
|
23 |
|
24 |
# --- Prompts ---
|
|
|
17 |
MODEL_REPO_ID = "google/cxr-foundation"
|
18 |
MODEL_DOWNLOAD_DIR = './hf_cxr_foundation_space' # Directorio dentro del contenedor del Space
|
19 |
# Umbrales
|
20 |
+
SIMILARITY_DIFFERENCE_THRESHOLD = 0.0
|
21 |
+
POSITIVE_SIMILARITY_THRESHOLD = 0.0
|
22 |
print(f"Usando umbrales: Comp Δ={SIMILARITY_DIFFERENCE_THRESHOLD}, Simp τ={POSITIVE_SIMILARITY_THRESHOLD}")
|
23 |
|
24 |
# --- Prompts ---
|