Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,15 +101,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 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()
|
|
|
|
| 101 |
outputs=back_output
|
| 102 |
)
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
if __name__ == "__main__":
|
| 106 |
demo.launch()
|