Amamrnaf commited on
Commit
182218c
·
1 Parent(s): 985808a

`Added print statements in process_file function for PDF files with option "Noc_timesheet_residential"`

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -126,7 +126,9 @@ def process_file(file, option):
126
  if file_extension in ['.pdf']:
127
  # Process PDF files
128
  if option == "Noc_timesheet_residential":
 
129
  Noc_timeSheet_pdf_to_img(file_path)
 
130
  result = get_image_informations("output.jpg", Noc_Res_timesheet_prompt, Noc_Res_timeSheet_parser)
131
  return result
132
  elif option == "Noc_timesheet_rotational":
 
126
  if file_extension in ['.pdf']:
127
  # Process PDF files
128
  if option == "Noc_timesheet_residential":
129
+ print(file_path)
130
  Noc_timeSheet_pdf_to_img(file_path)
131
+ print("here 2")
132
  result = get_image_informations("output.jpg", Noc_Res_timesheet_prompt, Noc_Res_timeSheet_parser)
133
  return result
134
  elif option == "Noc_timesheet_rotational":