Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def extract_numeric_values(pdf_file, schedule1_file=None, client_name="Unknown C
|
|
114 |
|
115 |
output_dir = "Files"
|
116 |
os.makedirs(output_dir, exist_ok=True)
|
117 |
-
csv_path = os.path.join(output_dir, "
|
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
|
@@ -127,7 +127,7 @@ def save_to_csv_flat(all_extracted_values, schedule1_values, client_name="Unknow
|
|
127 |
|
128 |
# Define the directory path explicitly
|
129 |
if csv_path is None:
|
130 |
-
csv_path = "
|
131 |
|
132 |
# Header components
|
133 |
header_level_1 = [
|
|
|
114 |
|
115 |
output_dir = "Files"
|
116 |
os.makedirs(output_dir, exist_ok=True)
|
117 |
+
csv_path = os.path.join(output_dir, "Clients_Output_Data_Form_1040.csv")
|
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
|
|
|
127 |
|
128 |
# Define the directory path explicitly
|
129 |
if csv_path is None:
|
130 |
+
csv_path = "Clients_Output_Data_Form_1040.csv"
|
131 |
|
132 |
# Header components
|
133 |
header_level_1 = [
|