frncscp commited on
Commit
ba12476
·
1 Parent(s): b7d8be8

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +1 -6
pages/Entorno de Ejecución.py CHANGED
@@ -54,13 +54,8 @@ def sort_key(filename):
54
  else:
55
  return (parts[0], extract_number(parts[1]), parts[2])
56
 
57
- # sort the filenames using the custom sorting key
58
- sorted_keys = sorted(model_dict.keys(), key=sort_key)
59
-
60
- sorted_model_dict = {k: model_dict[k] for k in sorted_keys}
61
-
62
  # Create a dropdown menu to select the model
63
- model_choice = st.multiselect("Seleccione un modelo de clasificación", sorted_keys)
64
 
65
  selected_models = []
66
  for model in model_choice:
 
54
  else:
55
  return (parts[0], extract_number(parts[1]), parts[2])
56
 
 
 
 
 
 
57
  # Create a dropdown menu to select the model
58
+ model_choice = st.multiselect("Seleccione un modelo de clasificación", sorted(model_dict.keys(), key=sort_key))
59
 
60
  selected_models = []
61
  for model in model_choice: