aminaB9 commited on
Commit
c865e75
·
verified ·
1 Parent(s): 18ea5d8

Added video

Browse files
Files changed (1) hide show
  1. app.py +13 -11
app.py CHANGED
@@ -143,16 +143,7 @@ with gr.Blocks() as demo:
143
  </p>
144
  """
145
  )
146
- gr.Markdown("### Watch our demo walkthrough video")
147
- youtube_id = "7CAjgSwHbuk"
148
- video_html = f"""
149
- <iframe width="560" height="315"
150
- src="https://www.youtube.com/embed/{youtube_id}"
151
- frameborder="0"
152
- allowfullscreen></iframe>
153
- """
154
-
155
- gr.HTML(video_html)
156
 
157
  gr.Markdown("# Biometric verification (1:1 matching) Using Fully Homomorphic Encryption (FHE)")
158
 
@@ -166,7 +157,18 @@ with gr.Blocks() as demo:
166
  <li><strong>Scenario 4</strong>: Verifying a non-enrolled subject with low recognition threshold. For this scenario, choose a probe not enrolled and lower the recognition threshold. Expected outcome: <span style='color: green; font-weight: bold;'>✔️ Match</span></li>
167
  </ul>
168
  """
169
- )
 
 
 
 
 
 
 
 
 
 
 
170
 
171
  with gr.Row():
172
  gr.Markdown("## Phase 1: Enrollment")
 
143
  </p>
144
  """
145
  )
146
+
 
 
 
 
 
 
 
 
 
147
 
148
  gr.Markdown("# Biometric verification (1:1 matching) Using Fully Homomorphic Encryption (FHE)")
149
 
 
157
  <li><strong>Scenario 4</strong>: Verifying a non-enrolled subject with low recognition threshold. For this scenario, choose a probe not enrolled and lower the recognition threshold. Expected outcome: <span style='color: green; font-weight: bold;'>✔️ Match</span></li>
158
  </ul>
159
  """
160
+ )
161
+
162
+ youtube_id = "7CAjgSwHbuk"
163
+ video_html = f"""
164
+ <div style="display: flex; justify-content: center;">
165
+ <iframe width="560" height="315"
166
+ src="https://www.youtube.com/embed/{youtube_id}"
167
+ frameborder="0"
168
+ allowfullscreen></iframe>
169
+ </div>
170
+ """
171
+ gr.HTML(video_html)
172
 
173
  with gr.Row():
174
  gr.Markdown("## Phase 1: Enrollment")