Spaces:
Paused
Paused
header for output
Browse files
app.py
CHANGED
@@ -171,7 +171,10 @@ def process_document(image):
|
|
171 |
demo = gr.Interface(
|
172 |
fn=process_document,
|
173 |
inputs="image", # Gradio will handle the image input
|
174 |
-
outputs=[
|
|
|
|
|
|
|
175 |
title="PaySlip_Demo_Model",
|
176 |
examples=[["Slip_1.jpg"], ["Slip_2.jpg"]],
|
177 |
cache_examples=False
|
|
|
171 |
demo = gr.Interface(
|
172 |
fn=process_document,
|
173 |
inputs="image", # Gradio will handle the image input
|
174 |
+
outputs=[
|
175 |
+
gr.outputs.JSON(label="Tax Deductions Information"), # First output box with heading
|
176 |
+
gr.outputs.JSON(label="Other Benefits and Information") # Second output box with heading
|
177 |
+
],
|
178 |
title="PaySlip_Demo_Model",
|
179 |
examples=[["Slip_1.jpg"], ["Slip_2.jpg"]],
|
180 |
cache_examples=False
|