nmariotto commited on
Commit
f8a6ce1
·
verified ·
1 Parent(s): e7ccdbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -16,6 +16,20 @@ from googleapiclient.http import MediaIoBaseUpload
16
  import gspread
17
  import time
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  # 🔥 Inicializar Roboflow
20
  API_KEY = st.secrets["roboflow_api_key"]
21
  rf = roboflow.Roboflow(api_key=API_KEY)
 
16
  import gspread
17
  import time
18
 
19
+ ga_script = """
20
+ <!-- Google tag (gtag.js) -->
21
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-8XP3DZTE4B"></script>
22
+ <script>
23
+ window.dataLayer = window.dataLayer || [];
24
+ function gtag( ){dataLayer.push(arguments);}
25
+ gtag('js', new Date());
26
+
27
+ gtag('config', 'G-8XP3DZTE4B');
28
+ </script>
29
+ """
30
+
31
+ st.components.v1.html(ga_script, height=0)
32
+
33
  # 🔥 Inicializar Roboflow
34
  API_KEY = st.secrets["roboflow_api_key"]
35
  rf = roboflow.Roboflow(api_key=API_KEY)