Vishal1122 commited on
Commit
347a80d
·
verified ·
1 Parent(s): 3a3fee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=id_details,
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",