JC321 commited on
Commit
1c2763d
·
verified ·
1 Parent(s): 2fa97b8

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1287,7 +1287,7 @@ def build_income_table(table_data):
1287
  <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1288
  <path d="M12 2L15.09 8.26L19 9.07L16 14L16 19L12 19L8 14L8 9.07L4.91 8.26L8 2L12 2Z" fill="#3b82f6"/>
1289
  </svg>
1290
- <div style="font-size: 19px; font-weight: 600; color: #1f2937;">Income Statement and Cash Flow</div>
1291
  </div>
1292
  <div style="overflow-x: auto;">
1293
  <table style="width: 100%; border-collapse: collapse; font-size: 13px;">
@@ -1498,7 +1498,7 @@ def update_metrics_dashboard(company_name):
1498
  <small>Unable to load data for {company_name}</small>
1499
  </div>'''
1500
  error_table = f'''<div style="padding:16px; color:#e74c3c; background:#fee; border-radius:8px;">
1501
- <strong>Income Statement and Cash Flow</strong><br/>
1502
  <small>Please check if the company has been added correctly</small>
1503
  </div>'''
1504
  return error_html, error_metrics, error_table
 
1287
  <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1288
  <path d="M12 2L15.09 8.26L19 9.07L16 14L16 19L12 19L8 14L8 9.07L4.91 8.26L8 2L12 2Z" fill="#3b82f6"/>
1289
  </svg>
1290
+ <div style="font-size: 19px; font-weight: 600; color: #1f2937;">Latest 3 Years Financial Metrics</div>
1291
  </div>
1292
  <div style="overflow-x: auto;">
1293
  <table style="width: 100%; border-collapse: collapse; font-size: 13px;">
 
1498
  <small>Unable to load data for {company_name}</small>
1499
  </div>'''
1500
  error_table = f'''<div style="padding:16px; color:#e74c3c; background:#fee; border-radius:8px;">
1501
+ <strong>Latest 3 Years Financial Metrics</strong><br/>
1502
  <small>Please check if the company has been added correctly</small>
1503
  </div>'''
1504
  return error_html, error_metrics, error_table