Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ with gr.Blocks() as MiniAIdemo:
|
|
| 21 |
<a href="https://miniai.live" style="display: flex; align-items: center;">
|
| 22 |
<img src="https://miniai.live/wp-content/uploads/2024/02/logo_name-1-768x426-1.png" style="width: 18%; margin-right: 15px;"/>
|
| 23 |
<div>
|
| 24 |
-
<p style="font-size: 40px; font-weight: bold; margin-right: 20px;">ID Document Liveness Detection Demo</p>
|
| 25 |
</div>
|
| 26 |
</a>
|
| 27 |
|
|
@@ -50,6 +50,7 @@ with gr.Blocks() as MiniAIdemo:
|
|
| 50 |
with gr.Column():
|
| 51 |
txt_idlive_output = gr.Textbox(label="API Response (JSON)")
|
| 52 |
btn_f_idlive.click(check_id_liveness, inputs=im_idlive_input, outputs=txt_idlive_output)
|
|
|
|
| 53 |
|
| 54 |
if __name__ == "__main__":
|
| 55 |
MiniAIdemo.launch()
|
|
|
|
| 21 |
<a href="https://miniai.live" style="display: flex; align-items: center;">
|
| 22 |
<img src="https://miniai.live/wp-content/uploads/2024/02/logo_name-1-768x426-1.png" style="width: 18%; margin-right: 15px;"/>
|
| 23 |
<div>
|
| 24 |
+
<p style="font-size: 40px; font-weight: bold; margin-right: 20px;">ID Document Liveness Detection SDK Demo</p>
|
| 25 |
</div>
|
| 26 |
</a>
|
| 27 |
|
|
|
|
| 50 |
with gr.Column():
|
| 51 |
txt_idlive_output = gr.Textbox(label="API Response (JSON)")
|
| 52 |
btn_f_idlive.click(check_id_liveness, inputs=im_idlive_input, outputs=txt_idlive_output)
|
| 53 |
+
gr.HTML('<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FMiniAiLive%2FID-Document-Liveness-Demo"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FMiniAiLive%2FID-Document-Liveness-Demo&label=VISITORS&labelColor=%2337d67a&countColor=%23ff8a65&style=plastic&labelStyle=none" /></a>')
|
| 54 |
|
| 55 |
if __name__ == "__main__":
|
| 56 |
MiniAIdemo.launch()
|