tracinginsights commited on
Commit
d9d31c3
·
1 Parent(s): f8416e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from git import Repo
2
  import os
3
  import streamlit as st
4
-
5
  from PIL import Image
6
 
7
  st.set_page_config(
@@ -24,6 +24,8 @@ if not os.path.exists('repo_directory'):
24
  from repo_directory.st_functions import st_button, load_css
25
 
26
 
 
 
27
  load_css()
28
 
29
  col1, col2, col3 = st.columns(3)
@@ -54,3 +56,4 @@ st_button('', 'https://tracinginsights.creator-spring.com/', 'Shop Merch', icon_
54
  st_button('', 'https://www.reddit.com/r/TracingInsights/', 'Join r/TracingInsights sub-reddit', icon_size)
55
  st_button('', 'https://amazon.com/dp/B0BF2XK7Q6', 'Buy my Childrens book', icon_size)
56
 
 
 
1
  from git import Repo
2
  import os
3
  import streamlit as st
4
+ import streamlit_analytics
5
  from PIL import Image
6
 
7
  st.set_page_config(
 
24
  from repo_directory.st_functions import st_button, load_css
25
 
26
 
27
+ streamlit_analytics.start_tracking()
28
+
29
  load_css()
30
 
31
  col1, col2, col3 = st.columns(3)
 
56
  st_button('', 'https://www.reddit.com/r/TracingInsights/', 'Join r/TracingInsights sub-reddit', icon_size)
57
  st_button('', 'https://amazon.com/dp/B0BF2XK7Q6', 'Buy my Childrens book', icon_size)
58
 
59
+ streamlit_analytics.stop_tracking()