Spaces:
Running
Running
Update app.py
Browse files
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 == "
|
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
|