Spaces:
Running
Running
Update pages/Entorno de Ejecución.py
Browse files
pages/Entorno de Ejecución.py
CHANGED
@@ -194,10 +194,11 @@ with vit:
|
|
194 |
|
195 |
|
196 |
#y_gorrito = query(uploaded_file.read(), model_choice[0])[1]["score"]
|
197 |
-
|
198 |
for model in model_choice:
|
199 |
-
y_gorrito += query(uploaded_file.read(), model_dict[model])
|
200 |
-
|
|
|
201 |
|
202 |
#st.write("y gorrito calculado", len(model_choice))
|
203 |
#classifier = classifier(img)
|
|
|
194 |
|
195 |
|
196 |
#y_gorrito = query(uploaded_file.read(), model_choice[0])[1]["score"]
|
197 |
+
i = 0
|
198 |
for model in model_choice:
|
199 |
+
y_gorrito += query(uploaded_file.read(), model_dict[model])
|
200 |
+
i += 1
|
201 |
+
y_gorrito /= i
|
202 |
|
203 |
#st.write("y gorrito calculado", len(model_choice))
|
204 |
#classifier = classifier(img)
|