justin2341
commited on
Commit
•
6c484ef
1
Parent(s):
2fa2b7b
Update demo.py
Browse files
demo.py
CHANGED
@@ -124,7 +124,7 @@ def check_liveness(frame):
|
|
124 |
with gr.Blocks() as demo:
|
125 |
gr.Markdown(
|
126 |
"""
|
127 |
-
# KBY-AI Face Liveness Detecion
|
128 |
We offer SDKs for face recognition, liveness detection(anti-spoofing) and ID card recognition.
|
129 |
We also specialize in providing outsourcing services with a variety of technical stacks like AI(Computer Vision/Machine Learning), Mobile apps, and web apps.
|
130 |
|
@@ -154,5 +154,6 @@ with gr.Blocks() as demo:
|
|
154 |
livness_result_output = gr.HTML()
|
155 |
|
156 |
check_liveness_button.click(check_liveness, inputs=live_image_input, outputs=[liveness_face_output, livness_result_output])
|
|
|
157 |
|
158 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
124 |
with gr.Blocks() as demo:
|
125 |
gr.Markdown(
|
126 |
"""
|
127 |
+
# KBY-AI - Face Liveness Detecion
|
128 |
We offer SDKs for face recognition, liveness detection(anti-spoofing) and ID card recognition.
|
129 |
We also specialize in providing outsourcing services with a variety of technical stacks like AI(Computer Vision/Machine Learning), Mobile apps, and web apps.
|
130 |
|
|
|
154 |
livness_result_output = gr.HTML()
|
155 |
|
156 |
check_liveness_button.click(check_liveness, inputs=live_image_input, outputs=[liveness_face_output, livness_result_output])
|
157 |
+
gr.HTML('<a href="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FFaceLivenessDetection&countColor=%23263759"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FFaceLivenessDetection&countColor=%23263759&label=VISITORS&countColor=%23263759" /></a>')
|
158 |
|
159 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|