sayedM commited on
Commit
6597d1c
·
verified ·
1 Parent(s): fc79630

Update app.py

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