frncscp commited on
Commit
3e4216e
1 Parent(s): d2fa8e3

Update pages/Entorno de Ejecución.py

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