Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -101,14 +101,6 @@ with cnn:
|
|
101 |
except:
|
102 |
y_gorrito, raw_img = basic_predict(ultraptctrn, img)
|
103 |
|
104 |
-
|
105 |
-
# Pass the image to the model and get the prediction
|
106 |
-
# if ultra_flag:
|
107 |
-
# with st.spinner('Cargando ultra-predicción...'):
|
108 |
-
# if not executed:
|
109 |
-
# ultraptctrn = [load_model(model_dict[model]) for model in ultraversions]
|
110 |
-
# executed = True
|
111 |
-
#y_gorrito = predict(ultraptctrn, img)
|
112 |
else:
|
113 |
with st.spinner('Cargando predicción...'):
|
114 |
selected_models = [load_model(model_dict[model]) for model in model_choice if model not in selected_models]
|
@@ -131,8 +123,6 @@ with cnn:
|
|
131 |
else:
|
132 |
st.write('Revisa haber seleccionado los modelos y la imagen correctamente.')
|
133 |
|
134 |
-
|
135 |
-
|
136 |
with autoencoder:
|
137 |
st.write('Próximamente')
|
138 |
with svm:
|
|
|
101 |
except:
|
102 |
y_gorrito, raw_img = basic_predict(ultraptctrn, img)
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
else:
|
105 |
with st.spinner('Cargando predicción...'):
|
106 |
selected_models = [load_model(model_dict[model]) for model in model_choice if model not in selected_models]
|
|
|
123 |
else:
|
124 |
st.write('Revisa haber seleccionado los modelos y la imagen correctamente.')
|
125 |
|
|
|
|
|
126 |
with autoencoder:
|
127 |
st.write('Próximamente')
|
128 |
with svm:
|