maliahson commited on
Commit
e7539d0
·
verified ·
1 Parent(s): 7221b4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,15 +101,15 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
101
  outputs=back_output
102
  )
103
 
104
- # API endpoints
105
  api = gr.Interface(
106
  fn=[process_front_cnic, process_back_cnic],
107
  inputs=[gr.Image(type="pil"), gr.Image(type="pil")],
108
  outputs=[gr.JSON(), gr.JSON()],
109
  api_name="cnic_detection",
110
  title="CNIC Detection API",
111
- description="API to detect front and back CNIC image regions using YOLO."
112
  )
113
 
 
114
  if __name__ == "__main__":
115
  demo.launch()
 
101
  outputs=back_output
102
  )
103
 
 
104
  api = gr.Interface(
105
  fn=[process_front_cnic, process_back_cnic],
106
  inputs=[gr.Image(type="pil"), gr.Image(type="pil")],
107
  outputs=[gr.JSON(), gr.JSON()],
108
  api_name="cnic_detection",
109
  title="CNIC Detection API",
110
+ description="API to process front and back CNIC images."
111
  )
112
 
113
+
114
  if __name__ == "__main__":
115
  demo.launch()