Update app.py
Browse files
app.py
CHANGED
|
@@ -118,7 +118,6 @@ class AccountingNLP:
|
|
| 118 |
total_credit = sum(entry['credit'] for entry in entries)
|
| 119 |
|
| 120 |
if total_debit != total_credit:
|
| 121 |
-
return FalseV2 = False
|
| 122 |
return False, "Debits and credits must balance"
|
| 123 |
if not entries:
|
| 124 |
return False, "No valid entries generated"
|
|
|
|
| 118 |
total_credit = sum(entry['credit'] for entry in entries)
|
| 119 |
|
| 120 |
if total_debit != total_credit:
|
|
|
|
| 121 |
return False, "Debits and credits must balance"
|
| 122 |
if not entries:
|
| 123 |
return False, "No valid entries generated"
|