Ayesha352 commited on
Commit
ad32186
·
verified ·
1 Parent(s): 95f05e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,7 +112,7 @@ def extract_numeric_values(pdf_file, schedule1_file=None, client_name="Unknown C
112
 
113
  doc.close()
114
 
115
- output_dir = "Clients_Output_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
@@ -125,7 +125,7 @@ def save_to_csv_flat(all_extracted_values, schedule1_values, client_name="Unknow
125
 
126
  # Define the directory path explicitly
127
  if csv_path is None:
128
- csv_path = "Clients_Output_Data_Form_1040.csv"
129
 
130
  # Header components
131
  header_level_1 = [
 
112
 
113
  doc.close()
114
 
115
+ output_dir = "./Clients_Output_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
 
125
 
126
  # Define the directory path explicitly
127
  if csv_path is None:
128
+ csv_path = "./Clients_Output_Data_Form_1040.csv"
129
 
130
  # Header components
131
  header_level_1 = [