Skip to content

Commit 5b54bac

Browse files
committed
fix streamlit_analytics2 changes
1 parent 7de850a commit 5b54bac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

streamlit_app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
import numpy as np
88
from stqdm import stqdm
99
import streamlit as st
10-
import streamlit_analytics2 # TODO: un-comment when streamlit-analytics has been updated with https://github.com/jrieke/streamlit-analytics/pull/44
10+
# import streamlit_analytics # TODO: un-comment when streamlit-analytics has been updated with https://github.com/jrieke/streamlit-analytics/pull/44
11+
import streamlit_analytics2 as streamlit_analytics
1112
from astropy.coordinates import SkyCoord
1213
from sunpy.coordinates import frames
1314
from solarmach import SolarMACH, print_body_list, get_sw_speed
@@ -411,7 +412,7 @@ def get_short_url(url):
411412
* Be aware that the new URL format might change in the near future again (hopefully to something more clear and permanent).
412413
''')
413414

414-
# streamlit_analytics.start_tracking() # TODO: un-comment when streamlit-analytics has been updated with https://github.com/jrieke/streamlit-analytics/pull/44
415+
streamlit_analytics.start_tracking() # TODO: un-comment when streamlit-analytics has been updated with https://github.com/jrieke/streamlit-analytics/pull/44
415416

416417

417418
# footer

0 commit comments

Comments
 (0)