Spaces:
Sleeping
Sleeping
danidanidani
commited on
Commit
·
ecc888b
1
Parent(s):
a790e39
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ st.session_state.raw_plant_compatibility = st.session_state.raw_plant_compatibil
|
|
25 |
st.session_state.plant_list = st.session_state.raw_plant_compatibility.index.tolist()
|
26 |
|
27 |
# set version
|
28 |
-
st.session_state.demo_lite =
|
29 |
|
30 |
# setup keys and api info
|
31 |
# OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
|
@@ -297,7 +297,7 @@ if page == "Garden Optimization":
|
|
297 |
# Genetic Algorithm parameters
|
298 |
st.session_state.population_size = st.slider("Population Size", min_value=100, max_value=1000, value=500,
|
299 |
help="The number of individuals in each generation of the genetic algorithm.")
|
300 |
-
st.session_state.num_generations = st.slider("Number of Generations", min_value=100, max_value=1000, value=
|
301 |
help="The total number of generations to evolve through.")
|
302 |
st.session_state.tournament_size = st.slider("Tournament Size", min_value=5, max_value=20, value=10,
|
303 |
help="The number of individuals competing in each tournament selection round.")
|
|
|
25 |
st.session_state.plant_list = st.session_state.raw_plant_compatibility.index.tolist()
|
26 |
|
27 |
# set version
|
28 |
+
st.session_state.demo_lite = True
|
29 |
|
30 |
# setup keys and api info
|
31 |
# OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
|
|
|
297 |
# Genetic Algorithm parameters
|
298 |
st.session_state.population_size = st.slider("Population Size", min_value=100, max_value=1000, value=500,
|
299 |
help="The number of individuals in each generation of the genetic algorithm.")
|
300 |
+
st.session_state.num_generations = st.slider("Number of Generations", min_value=100, max_value=1000, value=250,
|
301 |
help="The total number of generations to evolve through.")
|
302 |
st.session_state.tournament_size = st.slider("Tournament Size", min_value=5, max_value=20, value=10,
|
303 |
help="The number of individuals competing in each tournament selection round.")
|