Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -75,7 +75,7 @@ with cnn:
|
|
75 |
# Create a dropdown menu to select the model
|
76 |
model_choice = st.multiselect("Seleccione uno o varios modelos de clasificación", model_dict.keys())
|
77 |
|
78 |
-
threshold = st.slider(
|
79 |
|
80 |
selected_models = []
|
81 |
|
@@ -139,7 +139,7 @@ with vit:
|
|
139 |
st.caption('One class is all you need!')
|
140 |
uploaded_file = st.file_uploader(key = 'ViT_upload', label = 'Sube la imagen a clasificar',type= ['jpg','png', 'jpeg', 'jfif', 'webp', 'heic'])
|
141 |
flag = False
|
142 |
-
threshold = st.slider(
|
143 |
if st.button(key = 'ViT_button', label ='¿Hay un patacón en la imagen?'):
|
144 |
if uploaded_file is not None:
|
145 |
with st.spinner('Cargando predicción...'):
|
|
|
75 |
# Create a dropdown menu to select the model
|
76 |
model_choice = st.multiselect("Seleccione uno o varios modelos de clasificación", model_dict.keys())
|
77 |
|
78 |
+
threshold = st.slider('¿Cuál va a ser el límite donde se considere patacón? (el valor recomendado para Ultra-Patacotrón es 50%, para los demás, 75%-80%)', 0, 100, 50, key = 'threshold_convnet')
|
79 |
|
80 |
selected_models = []
|
81 |
|
|
|
139 |
st.caption('One class is all you need!')
|
140 |
uploaded_file = st.file_uploader(key = 'ViT_upload', label = 'Sube la imagen a clasificar',type= ['jpg','png', 'jpeg', 'jfif', 'webp', 'heic'])
|
141 |
flag = False
|
142 |
+
threshold = st.slider('¿Cuál va a ser el límite desde donde se considere patacón? (se recomienda por encima del 80%)', 0, 100, 80, key = 'threshold_vit')
|
143 |
if st.button(key = 'ViT_button', label ='¿Hay un patacón en la imagen?'):
|
144 |
if uploaded_file is not None:
|
145 |
with st.spinner('Cargando predicción...'):
|