Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,12 +112,10 @@ def extract_numeric_values(pdf_file, schedule1_file=None, client_name="Unknown C
|
|
112 |
|
113 |
doc.close()
|
114 |
|
115 |
-
output_dir = "
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
save_to_csv_flat(all_extracated_values, schedule1_values, client_name=client_name, csv_path=csv_path)
|
120 |
-
return "\n".join(output), csv_path # Return the full path
|
121 |
|
122 |
except Exception as e:
|
123 |
return f"Error occurred:\n{str(e)}", None
|
|
|
112 |
|
113 |
doc.close()
|
114 |
|
115 |
+
output_dir = "Clients_Outpoutput_dirut_Data_Form_1040.csv"
|
116 |
+
|
117 |
+
save_to_csv_flat(all_extracated_values, schedule1_values, client_name=client_name, csv_path=output_dir)
|
118 |
+
return "\n".join(output), output_dir # Return the full path
|
|
|
|
|
119 |
|
120 |
except Exception as e:
|
121 |
return f"Error occurred:\n{str(e)}", None
|