Zhu-FaceOnLive commited on
Commit
d48e478
Β·
verified Β·
1 Parent(s): 6587425

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -141,7 +141,19 @@ links.forEach(link => {
141
  }
142
  """
143
 
144
- with gr.Blocks(css=custom_css) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
145
  gr.Markdown(
146
  """
147
  # Free Face Search Online
 
141
  }
142
  """
143
 
144
+ head = f"""
145
+ <!-- Google tag (gtag.js) -->
146
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-8YPXF4536P"></script>
147
+ <script>
148
+ window.dataLayer = window.dataLayer || [];
149
+ function gtag(){dataLayer.push(arguments);}
150
+ gtag('js', new Date());
151
+
152
+ gtag('config', 'G-8YPXF4536P');
153
+ </script>
154
+ """
155
+
156
+ with gr.Blocks(css=custom_css, head=head) as demo:
157
  gr.Markdown(
158
  """
159
  # Free Face Search Online