jfataphd commited on
Commit
b96b5eb
1 Parent(s): 40e9078

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -13,11 +13,26 @@ import urllib.request
13
  import random
14
  import plotly.express as px
15
 
 
16
  st.set_page_config(page_title="OncoDigger", page_icon=":microscope:", layout="wide", # centered
17
  initial_sidebar_state="auto",
18
  menu_items={'About': "OncoDigger is a Natural Language Processing (NLP) that harnesses Word2Vec to mine"
19
  " insight from pubmed abstracts. Created by Jimmie E. Fata, PhD, fata4science@gmail.com"})
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  # Define the HTML and CSS styles
22
  st.markdown("""
23
  <style>
 
13
  import random
14
  import plotly.express as px
15
 
16
+
17
  st.set_page_config(page_title="OncoDigger", page_icon=":microscope:", layout="wide", # centered
18
  initial_sidebar_state="auto",
19
  menu_items={'About': "OncoDigger is a Natural Language Processing (NLP) that harnesses Word2Vec to mine"
20
  " insight from pubmed abstracts. Created by Jimmie E. Fata, PhD, fata4science@gmail.com"})
21
 
22
+ analytics_code = '''
23
+ <!-- Google tag (gtag.js) -->
24
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-EKFSW65C2P"></script>
25
+ <script>
26
+ window.dataLayer = window.dataLayer || [];
27
+ function gtag(){dataLayer.push(arguments);}
28
+ gtag('js', new Date());
29
+
30
+ gtag('config', 'G-EKFSW65C2P');
31
+ </script>
32
+ '''
33
+
34
+ st.markdown(analytics_code, unsafe_allow_html=True)
35
+
36
  # Define the HTML and CSS styles
37
  st.markdown("""
38
  <style>