frncscp commited on
Commit
baa95fe
1 Parent(s): f6ec741

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +1 -1
pages/Entorno de Ejecución.py CHANGED
@@ -325,7 +325,7 @@ with classic_ml:
325
  with st.spinner('Cargando predicción...'):
326
 
327
  img = preprocess(uploaded_file)
328
- selected_models = [joblib.load(model_dict[model_name]) for model_name in model_choice if model_name not in selected_models]
329
  y_gorrito, raw_img = _pca_predict(selected_models, img)
330
 
331
  if round(float(y_gorrito*100)) >= threshold:
 
325
  with st.spinner('Cargando predicción...'):
326
 
327
  img = preprocess(uploaded_file)
328
+ selected_models = [joblib.load(model_dict[model_name]) for model_name in model_choice]
329
  y_gorrito, raw_img = _pca_predict(selected_models, img)
330
 
331
  if round(float(y_gorrito*100)) >= threshold: