amamrnaf commited on
Commit
1033f29
·
verified ·
1 Parent(s): 3ac79cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def process_pdf(file, option):
157
  file_path = file.name
158
 
159
  # Process based on the selected option
160
- if option == "Noc_timesheet_resdiential":
161
  Noc_timeSheet_pdf_to_img(file_path,"output.jpg")
162
  result = get_image_informations("output.jpg",Noc_Res_timesheet_prompt,Noc_Res_timeSheet_parser)
163
  return result
 
157
  file_path = file.name
158
 
159
  # Process based on the selected option
160
+ if option == "Noc_timesheet_residential":
161
  Noc_timeSheet_pdf_to_img(file_path,"output.jpg")
162
  result = get_image_informations("output.jpg",Noc_Res_timesheet_prompt,Noc_Res_timeSheet_parser)
163
  return result