frncscp commited on
Commit
d0328cd
1 Parent(s): ce34e9e

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +3 -3
pages/Entorno de Ejecución.py CHANGED
@@ -193,16 +193,16 @@ with vit:
193
  # return y_gorrito / len(classifier_list)
194
 
195
  models = [model_choice[i] for i in range(len(model_choice))]
196
- st.write(models)
197
 
198
- st.write(model_choice)
199
 
200
  y_gorrito = 0
201
  #y_gorrito = query(uploaded_file.read(), model_choice[0])[1]["score"]
202
  i = -1
203
  for model in model_choice:
204
  i+=1
205
- y_gorrito += query(uploaded_file.read(), model_dict[i])
206
  y_gorrito /= i
207
 
208
  #st.write("y gorrito calculado", len(model_choice))
 
193
  # return y_gorrito / len(classifier_list)
194
 
195
  models = [model_choice[i] for i in range(len(model_choice))]
196
+ st.write(type(models), models)
197
 
198
+ #st.write(model_choice)
199
 
200
  y_gorrito = 0
201
  #y_gorrito = query(uploaded_file.read(), model_choice[0])[1]["score"]
202
  i = -1
203
  for model in model_choice:
204
  i+=1
205
+ y_gorrito += query(uploaded_file.read(), model_dict[model_choice[i]])
206
  y_gorrito /= i
207
 
208
  #st.write("y gorrito calculado", len(model_choice))