Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -88,7 +88,7 @@ with cnn:
|
|
88 |
selected_models = [load_model(model_dict[model]) for model in model_choice if model not in selected_models]
|
89 |
y_gorrito = predict(selected_models, img)
|
90 |
|
91 |
-
if round(float(y_gorrito*100)) >=
|
92 |
st.success("¡Patacón Detectado!")
|
93 |
|
94 |
else:
|
|
|
88 |
selected_models = [load_model(model_dict[model]) for model in model_choice if model not in selected_models]
|
89 |
y_gorrito = predict(selected_models, img)
|
90 |
|
91 |
+
if round(float(y_gorrito*100)) >= threshold:
|
92 |
st.success("¡Patacón Detectado!")
|
93 |
|
94 |
else:
|