justin2341 commited on
Commit
28dcf2b
1 Parent(s): 3593a39

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +17 -11
demo.py CHANGED
@@ -108,20 +108,25 @@ def compare_face(frame1, frame2):
108
  with gr.Blocks() as demo:
109
  gr.Markdown(
110
  """
111
- # KBY-AI
112
- We offer SDKs for Face Recognition, Face Liveness Detection(Face Anti-Spoofing), and ID Card Recognition.<br/>
113
- Besides that, we can provide several AI models and development services in machine learning.
114
-
115
- ## Simple Installation & Simple API
116
- ```
117
- sudo docker pull kbyai/face-recognition:latest
118
- sudo docker run -e LICENSE="xxxxx" -p 8081:8080 -p 9001:9000 kbyai/face-recognition:latest
119
- ```
120
- ## KYC Verification Demo
121
- https://github.com/kby-ai/KYC-Verification
122
  """
123
  )
124
  with gr.TabItem("Face Recognition"):
 
 
 
 
 
 
 
 
 
125
  with gr.Row():
126
  with gr.Column():
127
  compare_face_input1 = gr.Image(type='filepath')
@@ -137,5 +142,6 @@ with gr.Blocks() as demo:
137
  compare_result_output = gr.HTML(label='Result')
138
 
139
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_face_output, compare_result_output])
 
140
 
141
  demo.launch(server_name="0.0.0.0", server_port=7860)
 
108
  with gr.Blocks() as demo:
109
  gr.Markdown(
110
  """
111
+ # KBY-AI - Face Liveness Detecion
112
+ We offer SDKs for face recognition, liveness detection(anti-spoofing) and ID card recognition.
113
+ We also specialize in providing outsourcing services with a variety of technical stacks like AI(Computer Vision/Machine Learning), Mobile apps, and web apps.
114
+
115
+ ##### KYC Verification Demo - https://github.com/kby-ai/KYC-Verification-Demo-Android
116
+ ##### ID Capture Web Demo - https://id-document-recognition-react-alpha.vercel.app
117
+ ##### Documentation - Help Center - https://docs.kby-ai.com
 
 
 
 
118
  """
119
  )
120
  with gr.TabItem("Face Recognition"):
121
+ gr.Markdown(
122
+ """
123
+ ##### Docker Hub - https://hub.docker.com/r/kbyai/face-recognition
124
+ ```bash
125
+ sudo docker pull kbyai/face-recognition:latest
126
+ sudo docker run -e LICENSE="xxxxx" -p 8081:8080 -p 9001:9000 kbyai/face-recognition:latest
127
+ ```
128
+ """
129
+ )
130
  with gr.Row():
131
  with gr.Column():
132
  compare_face_input1 = gr.Image(type='filepath')
 
142
  compare_result_output = gr.HTML(label='Result')
143
 
144
  compare_face_button.click(compare_face, inputs=[compare_face_input1, compare_face_input2], outputs=[compare_face_output, compare_result_output])
145
+ gr.HTML('<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FFaceRecognition"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FFaceRecognition&countColor=%23263759" /></a>')
146
 
147
  demo.launch(server_name="0.0.0.0", server_port=7860)