Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
ADIMANV committed Jan 10, 2025
1 parent 525b9c4 commit aba04d3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/mlmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,20 @@ def mlmodel_page():

st.table(all_sites.style.applymap(color_survived, subset=["last_generation_datetime"]))

# 2. Show site locations on the map
# 2. display all models
models = get_models(session)

all_models = pd.DataFrame(
[{"name": m.name, "version": m.version, "description": "todo"} for m in models]
)

# order by name
all_models = all_models.sort_values(by="name")

st.write("ML Models")
st.write(all_models)

# 3. Show site locations on the map
st.subheader("Site Locations on Map")

# Prepare site details for the map
Expand Down

0 comments on commit aba04d3

Please sign in to comment.