Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ st.title('Services and Users Assignment Center')
|
|
20 |
st.subheader('Genetic Algorithm Parameters')
|
21 |
population_size = st.slider('Population Size', min_value=500, max_value=5000, value=1500, step=100)
|
22 |
num_generations = st.slider('Number of Generations', min_value=1000, max_value=10000, value=2500, step=250)
|
23 |
-
mutation_rate = st.slider('Mutation Rate', min_value=0.0, max_value=1.0, value=0.
|
24 |
|
25 |
# Button to run the genetic algorithm
|
26 |
new_generation_run = st.button('Run new solution')
|
|
|
20 |
st.subheader('Genetic Algorithm Parameters')
|
21 |
population_size = st.slider('Population Size', min_value=500, max_value=5000, value=1500, step=100)
|
22 |
num_generations = st.slider('Number of Generations', min_value=1000, max_value=10000, value=2500, step=250)
|
23 |
+
mutation_rate = st.slider('Mutation Rate', min_value=0.0, max_value=1.0, value=0.05, step=0.01)
|
24 |
|
25 |
# Button to run the genetic algorithm
|
26 |
new_generation_run = st.button('Run new solution')
|