Spaces:
Runtime error
Runtime error
Update demo.py
Browse files
demo.py
CHANGED
|
@@ -141,14 +141,7 @@ def credit_recognition(frame):
|
|
| 141 |
with gr.Blocks() as demo:
|
| 142 |
gr.Markdown(
|
| 143 |
"""
|
| 144 |
-
|
| 145 |
-
Get your own ID Document Recognition Server by duplicating this space.<br/>
|
| 146 |
-
Or run on your own machine using docker.<br/>
|
| 147 |
-
```docker run -it -p 7860:7860 --platform=linux/amd64 \
|
| 148 |
-
-e LICENSE_KEY="YOUR_VALUE_HERE" \
|
| 149 |
-
registry.hf.space/faceonlive-id-document-recognition-sdk:latest```<br/><br/>
|
| 150 |
-
Contact us at https://faceonlive.com for issues and support.<br/><br/>
|
| 151 |
-
** For security and privacy, kindly refrain from uploading real ID card or credit card information on this platform.
|
| 152 |
"""
|
| 153 |
)
|
| 154 |
with gr.TabItem("ID Card Recognition"):
|
|
@@ -206,6 +199,6 @@ with gr.Blocks() as demo:
|
|
| 206 |
credit_examples.outputs = [credit_result_output, image_result_output]
|
| 207 |
credit_recognition_button.click(credit_recognition, inputs=credit_image_input, outputs=[credit_result_output, image_result_output])
|
| 208 |
|
| 209 |
-
gr.HTML('<a href="
|
| 210 |
|
| 211 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 141 |
with gr.Blocks() as demo:
|
| 142 |
gr.Markdown(
|
| 143 |
"""
|
| 144 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
"""
|
| 146 |
)
|
| 147 |
with gr.TabItem("ID Card Recognition"):
|
|
|
|
| 199 |
credit_examples.outputs = [credit_result_output, image_result_output]
|
| 200 |
credit_recognition_button.click(credit_recognition, inputs=credit_image_input, outputs=[credit_result_output, image_result_output])
|
| 201 |
|
| 202 |
+
gr.HTML('<a href=""><img src="" /></a>')
|
| 203 |
|
| 204 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|