Spaces:
Paused
Paused
fix depricated
Browse files
app.py
CHANGED
@@ -172,8 +172,8 @@ demo = gr.Interface(
|
|
172 |
fn=process_document,
|
173 |
inputs="image", # Gradio will handle the image input
|
174 |
outputs=[
|
175 |
-
gr.
|
176 |
-
gr.
|
177 |
],
|
178 |
title="PaySlip_Demo_Model",
|
179 |
examples=[["Slip_1.jpg"], ["Slip_2.jpg"]],
|
|
|
172 |
fn=process_document,
|
173 |
inputs="image", # Gradio will handle the image input
|
174 |
outputs=[
|
175 |
+
gr.JSON(label="Tax Deductions Information"), # First output box with heading
|
176 |
+
gr.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"]],
|