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