frncscp commited on
Commit
5029012
·
1 Parent(s): 92f82c8

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
@@ -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)) >= slide:
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: