xelpmocAI commited on
Commit
0f7e32d
·
verified ·
1 Parent(s): c7c2a12

output mismatch

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -117,13 +117,13 @@ def process_document(image):
117
  # Process the image with your model
118
  one = process_function(image_path, other_benifits)
119
  two = process_function(image_path, tax_deductions)
120
- three = format_nested_dict(one)
121
- four = format_nested_dict(two)
122
 
123
  # Optionally, you can delete the temporary file after use
124
  os.remove(image_path)
125
 
126
- return one, two, three, four
127
 
128
 
129
 
 
117
  # Process the image with your model
118
  one = process_function(image_path, other_benifits)
119
  two = process_function(image_path, tax_deductions)
120
+ text_one = format_nested_dict(one)
121
+ text_two = format_nested_dict(two)
122
 
123
  # Optionally, you can delete the temporary file after use
124
  os.remove(image_path)
125
 
126
+ return text_one, text_two, one, two
127
 
128
 
129