Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|