walaa2022 commited on
Commit
5b6a3e1
·
verified ·
1 Parent(s): c518467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,9 +92,9 @@ class FinancialAnalyzer:
92
  return {}
93
 
94
  def extract_metrics(self, income_data, balance_data):
95
- """Extract and calculate key financial metrics"""
96
  try:
97
- # Get current and previous year values for growth calculations
98
  metrics = {
99
  "Revenue": {
100
  "2025": self.get_nested_value(income_data, "Revenue", "Total Net Revenue", "2025"),
 
92
  return {}
93
 
94
  def extract_metrics(self, income_data, balance_data):
95
+ """Extract and calculate key financial metrics"""
96
  try:
97
+ # Get current and previous year values for growth calculations
98
  metrics = {
99
  "Revenue": {
100
  "2025": self.get_nested_value(income_data, "Revenue", "Total Net Revenue", "2025"),