Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ image_input = gr.Image(type="pil", label="Upload National ID Image")
|
|
60 |
json_output = gr.JSON(label="Extracted Information")
|
61 |
|
62 |
# Create a descriptive title and description for the app
|
63 |
-
title = "Egyptian National ID Extractor"
|
64 |
description = """
|
65 |
Upload a clear image of an Egyptian National ID card.
|
66 |
The application will send the image to a processing service and display the extracted information,
|
@@ -75,6 +75,9 @@ demo = gr.Interface(
|
|
75 |
title=title,
|
76 |
description=description,
|
77 |
allow_flagging="never",
|
|
|
|
|
|
|
78 |
)
|
79 |
|
80 |
# --- Launch the App ---
|
|
|
60 |
json_output = gr.JSON(label="Extracted Information")
|
61 |
|
62 |
# Create a descriptive title and description for the app
|
63 |
+
title = "Egyptian National ID Extractor(Front)"
|
64 |
description = """
|
65 |
Upload a clear image of an Egyptian National ID card.
|
66 |
The application will send the image to a processing service and display the extracted information,
|
|
|
75 |
title=title,
|
76 |
description=description,
|
77 |
allow_flagging="never",
|
78 |
+
examples=[
|
79 |
+
['d1.jpg'] # Example image path
|
80 |
+
]
|
81 |
)
|
82 |
|
83 |
# --- Launch the App ---
|