diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.py index 5417c83..355db04 100755 --- a/scripts/plotly_streamlit.py +++ b/scripts/plotly_streamlit.py @@ -6,11 +6,13 @@ from numpy import ma import plotly.graph_objects as go from plotly.subplots import make_subplots import plotly.io as pio -from datetime import timedelta +from datetime import timedelta, datetime +from pathlib import Path import sqlite3 from sqlite3 import Connection import plotly.express as px from sklearn.preprocessing import normalize +import time pio.templates.default = "plotly_white" @@ -18,7 +20,7 @@ userDir = os.path.expanduser('~') URI_SQLITE_DB = userDir + '/BirdNET-Pi/scripts/birds.db' st.set_page_config(layout='wide') -# + # Remove whitespace from the top of the page st.markdown(""" ', @@ -111,7 +112,7 @@ st.write('