xelpmocAI commited on
Commit
1463298
·
verified ·
1 Parent(s): 25ad79c

fix depricated

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