Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -21,7 +21,7 @@ cnn, autoencoder, svm, iforest, gan, vit = st.tabs(["CNN", "Autoencoder", "OC-SV
|
|
21 |
with cnn:
|
22 |
|
23 |
col_a, col_b, = st.columns(2)
|
24 |
-
|
25 |
with col_a:
|
26 |
st.title("Redes neuronales convolucionales")
|
27 |
st.caption("Los modelos no están en orden de eficacia, sino en orden de creación.")
|
@@ -83,7 +83,7 @@ with cnn:
|
|
83 |
uploaded_file = st.file_uploader(label = '',type= ['jpg','png', 'jpeg', 'jfif', 'webp', 'heic'])
|
84 |
|
85 |
if st.button('¿Hay un patacón en la imagen?'):
|
86 |
-
if len(model_choice) > 0 and ultra_flag or len(model_choice) == 0 and
|
87 |
st.write('Debe elegir un método (debe seleccionar o deseleccionar alguno): Ultra-Patacotrón o Selección Múltiple.')
|
88 |
|
89 |
elif uploaded_file is not None:
|
|
|
21 |
with cnn:
|
22 |
|
23 |
col_a, col_b, = st.columns(2)
|
24 |
+
ultraflag = None
|
25 |
with col_a:
|
26 |
st.title("Redes neuronales convolucionales")
|
27 |
st.caption("Los modelos no están en orden de eficacia, sino en orden de creación.")
|
|
|
83 |
uploaded_file = st.file_uploader(label = '',type= ['jpg','png', 'jpeg', 'jfif', 'webp', 'heic'])
|
84 |
|
85 |
if st.button('¿Hay un patacón en la imagen?'):
|
86 |
+
if len(model_choice) > 0 and ultra_flag or len(model_choice) == 0 and ultraflag is None:
|
87 |
st.write('Debe elegir un método (debe seleccionar o deseleccionar alguno): Ultra-Patacotrón o Selección Múltiple.')
|
88 |
|
89 |
elif uploaded_file is not None:
|