Spaces:
Sleeping
Sleeping
Update pages/Entorno de Ejecución.py
Browse files
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
|
| 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:
|