aus10powell commited on
Commit
d401263
·
1 Parent(s): 62b7bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -50,7 +50,6 @@ def run_app():
50
  st.set_page_config(layout="wide")
51
  st.set_option("deprecation.showfileUploaderEncoding", False)
52
 
53
-
54
  # App title and description
55
  st.title("MIT Count Fish Counter")
56
  st.text("Upload a video file to detect and count fish")
@@ -80,6 +79,8 @@ def run_app():
80
  plot_historical_data(df_historical_herring),
81
  use_container_width=True,
82
  )
 
 
83
  # Display map of fishery locations
84
  st.subheader("Map of Fishery Locations")
85
  st.map(
 
50
  st.set_page_config(layout="wide")
51
  st.set_option("deprecation.showfileUploaderEncoding", False)
52
 
 
53
  # App title and description
54
  st.title("MIT Count Fish Counter")
55
  st.text("Upload a video file to detect and count fish")
 
79
  plot_historical_data(df_historical_herring),
80
  use_container_width=True,
81
  )
82
+ st.subheader("Yearly Totals (from manual counts)")
83
+ st.dataframe(df_historical_herring.groupby(df_historical_herring["Date"].dt.year).sum().T)
84
  # Display map of fishery locations
85
  st.subheader("Map of Fishery Locations")
86
  st.map(