Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ if st.button("Run evolution"):
|
|
95 |
# Evaluate the final population
|
96 |
if gas is not None:
|
97 |
final_accuracy = []
|
98 |
-
|
99 |
X_train, X_test, y_train, y_test = generate_dataset(task_id)
|
100 |
accuracy = []
|
101 |
for net in ga.population:
|
|
|
95 |
# Evaluate the final population
|
96 |
if gas is not None:
|
97 |
final_accuracy = []
|
98 |
+
for task_id, ga in enumerate(gas):
|
99 |
X_train, X_test, y_train, y_test = generate_dataset(task_id)
|
100 |
accuracy = []
|
101 |
for net in ga.population:
|