akazmi commited on
Commit
548b5c4
·
verified ·
1 Parent(s): 1992da1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -90,6 +90,10 @@ with gr.Blocks() as demo:
90
  balance_output = gr.Textbox(label="Balance Sheet", lines=10)
91
 
92
  def process_file(trial_balance_file, mapping_file):
 
 
 
 
93
  # Check if files are uploaded
94
  if trial_balance_file is None:
95
  return "Error: Please upload a trial balance Excel file.", None
 
90
  balance_output = gr.Textbox(label="Balance Sheet", lines=10)
91
 
92
  def process_file(trial_balance_file, mapping_file):
93
+ # Debugging print statements
94
+ print("Trial Balance File:", trial_balance_file)
95
+ print("Mapping File:", mapping_file)
96
+
97
  # Check if files are uploaded
98
  if trial_balance_file is None:
99
  return "Error: Please upload a trial balance Excel file.", None