Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,16 +14,10 @@ def process_document(file):
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=process_document,
|
17 |
-
inputs=gr.File(
|
18 |
-
label="Upload Aadhaar/PAN image",
|
19 |
-
file_types=[".jpg", ".jpeg", ".png", ".webp", ".tiff", ".bmp"]
|
20 |
-
),
|
21 |
outputs=gr.JSON(label="Extracted KYC Fields"),
|
22 |
-
title="🔍 Smart KYC OCR",
|
23 |
-
description=
|
24 |
-
"Upload an image of an Aadhaar or PAN card, and this tool will extract key KYC fields like "
|
25 |
-
"**Name**, **Aadhaar Number**, and **Date of Birth** using Tesseract OCR."
|
26 |
-
),
|
27 |
theme="dark"
|
28 |
)
|
29 |
|
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=process_document,
|
17 |
+
inputs=gr.File(label="Upload Aadhaar/PAN image", file_types=[".png", ".jpg", ".jpeg"]),
|
|
|
|
|
|
|
18 |
outputs=gr.JSON(label="Extracted KYC Fields"),
|
19 |
+
title="🔍 Smart KYC OCR (Powered by PaddleOCR)",
|
20 |
+
description="Upload an Aadhaar or PAN card image. The tool extracts structured KYC fields using PaddleOCR.",
|
|
|
|
|
|
|
21 |
theme="dark"
|
22 |
)
|
23 |
|