Ayesha352 commited on
Commit
17579f1
·
verified ·
1 Parent(s): 7f0c11d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def extract_numeric_values(pdf_file, schedule1_file=None, client_name="Unknown C
122
  def save_to_csv_flat(all_extracted_values, schedule1_values, client_name="Unknown Client", csv_path=None):
123
  # Header components
124
  if csv_path is None:
125
- csv_path = os.path.join(os.path.dirname(__file__), "Client_Output_Data_Form_1040.csv")
126
  header_level_1 = [
127
  "Client Name","Gross Comp", "Taxable Wages", "Taxable Interest Income: Sch. B", "Tax- Exempt Interest",
128
  "Qualified Dividends", "Ordinary Dividends", "Long Term Capital Gain or Loss",
 
122
  def save_to_csv_flat(all_extracted_values, schedule1_values, client_name="Unknown Client", csv_path=None):
123
  # Header components
124
  if csv_path is None:
125
+ csv_path = os.path.join(os.getcwd(), "Client_Output_Data_Form_1040.csv")
126
  header_level_1 = [
127
  "Client Name","Gross Comp", "Taxable Wages", "Taxable Interest Income: Sch. B", "Tax- Exempt Interest",
128
  "Qualified Dividends", "Ordinary Dividends", "Long Term Capital Gain or Loss",