Spaces:
Runtime error
Runtime error
Update demo.py
Browse files
demo.py
CHANGED
|
@@ -218,11 +218,36 @@ def detect_face(image):
|
|
| 218 |
|
| 219 |
with gr.Blocks() as demo:
|
| 220 |
gr.Markdown(
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
|
|
|
|
|
|
|
|
|
| 224 |
</div>
|
| 225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
)
|
| 227 |
|
| 228 |
with gr.TabItem("Face Recognition"):
|
|
|
|
| 218 |
|
| 219 |
with gr.Blocks() as demo:
|
| 220 |
gr.Markdown(
|
| 221 |
+
f"""
|
| 222 |
+
<a href="https://recognito.vision" style="display: flex; align-items: center;">
|
| 223 |
+
<img src="https://recognito.vision/wp-content/uploads/2024/03/Recognito-modified.png" style="width: 8%; margin-right: 15px;"/>
|
| 224 |
+
<div>
|
| 225 |
+
<p style="font-size: 32px; font-weight: bold; margin: 0;">Recognito</p>
|
| 226 |
+
<p style="font-size: 18px; margin: 0;">www.recognito.vision</p>
|
| 227 |
</div>
|
| 228 |
+
</a>
|
| 229 |
+
<p style="font-size: 20px; font-weight: bold;">📘 Product Documentation</p>
|
| 230 |
+
<div style="display: flex; align-items: center;">
|
| 231 |
+
  <a href="https://docs.recognito.vision" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/05/book.png" style="width: 48px; margin-right: 5px;"/></a>
|
| 232 |
+
</div>
|
| 233 |
+
<p style="font-size: 20px; font-weight: bold;">🏠 Visit Recognito</p>
|
| 234 |
+
<div style="display: flex; align-items: center;">
|
| 235 |
+
  <a href="https://recognito.vision" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/03/recognito_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 236 |
+
<a href="https://www.linkedin.com/company/recognito-vision" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/03/linkedin_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 237 |
+
<a href="https://huggingface.co/recognito" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/03/hf_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 238 |
+
<a href="https://github.com/recognito-vision" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/03/github_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 239 |
+
<a href="https://hub.docker.com/u/recognito" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/03/docker_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 240 |
+
<a href="https://www.youtube.com/@recognito-vision" style="display: flex; align-items: center;"><img src="https://recognito.vision/wp-content/uploads/2024/04/youtube_64_cl.png" style="width: 32px; margin-right: 5px;"/></a>
|
| 241 |
+
</div>
|
| 242 |
+
<p style="font-size: 20px; font-weight: bold;">🤝 Contact us for our on-premise ID Document Verification SDKs deployment</p>
|
| 243 |
+
<div style="display: flex; align-items: center;">
|
| 244 |
+
  <a target="_blank" href="mailto:hello@recognito.vision"><img src="https://img.shields.io/badge/email-hassan@recognito.vision-blue.svg?logo=gmail " alt="www.recognito.vision"></a>
|
| 245 |
+
<a target="_blank" href="https://wa.me/+14158003112"><img src="https://img.shields.io/badge/whatsapp-+14158003112-blue.svg?logo=whatsapp " alt="www.recognito.vision"></a>
|
| 246 |
+
<a target="_blank" href="https://t.me/recognito_vision"><img src="https://img.shields.io/badge/telegram-@recognito__vision-blue.svg?logo=telegram " alt="www.recognito.vision"></a>
|
| 247 |
+
<a target="_blank" href="https://join.slack.com/t/recognito-workspace/shared_invite/zt-2d4kscqgn-"><img src="https://img.shields.io/badge/slack-recognito__workspace-blue.svg?logo=slack " alt="www.recognito.vision"></a>
|
| 248 |
+
</div>
|
| 249 |
+
<br/>
|
| 250 |
+
"""
|
| 251 |
)
|
| 252 |
|
| 253 |
with gr.TabItem("Face Recognition"):
|