Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def id_details(image: Image.Image) -> Dict:
|
|
| 163 |
|
| 164 |
# Define the Gradio interface for the ID extractor
|
| 165 |
id_interface = gr.Interface(
|
| 166 |
-
fn=
|
| 167 |
inputs=gr.Image(type="pil", label="Upload an image"),
|
| 168 |
outputs=gr.JSON(label="Extracted Details"),
|
| 169 |
title="Upload your ID",
|
|
|
|
| 163 |
|
| 164 |
# Define the Gradio interface for the ID extractor
|
| 165 |
id_interface = gr.Interface(
|
| 166 |
+
fn=id_extractor,
|
| 167 |
inputs=gr.Image(type="pil", label="Upload an image"),
|
| 168 |
outputs=gr.JSON(label="Extracted Details"),
|
| 169 |
title="Upload your ID",
|