rajat5ranjan commited on
Commit
b07dea6
Β·
verified Β·
1 Parent(s): d16389e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -378,7 +378,7 @@ if activities == "Symbol Analysis":
378
  row1 = st.columns(3)
379
  row1[0].metric("πŸ’° Current Price", data["stock_summary"]["current_price"])
380
  row1[1].metric("🏒 Market Cap", data["stock_summary"]["market_cap"])
381
- row1[2].metric("⭐ Rating", f":red[{data['overall_rating']['rating']}]")
382
 
383
  # === Row 2: Historical Performance ===
384
  st.subheader("πŸ“Š Historical Performance")
@@ -446,7 +446,6 @@ if activities == "Symbol Analysis":
446
  action_cols[2].error(f"**Sell:** {advice['price_action_suggestions']['sell']}")
447
 
448
  # === Footer ===
449
- st.markdown("---")
450
  st.caption("Generated by AI-powered financial analysis dashboard.")
451
  except json.JSONDecodeError as e:
452
  st.error(f"JSON decode error: {e}")
 
378
  row1 = st.columns(3)
379
  row1[0].metric("πŸ’° Current Price", data["stock_summary"]["current_price"])
380
  row1[1].metric("🏒 Market Cap", data["stock_summary"]["market_cap"])
381
+ row1[2].metric("⭐ Rating", data['overall_rating']['rating'])
382
 
383
  # === Row 2: Historical Performance ===
384
  st.subheader("πŸ“Š Historical Performance")
 
446
  action_cols[2].error(f"**Sell:** {advice['price_action_suggestions']['sell']}")
447
 
448
  # === Footer ===
 
449
  st.caption("Generated by AI-powered financial analysis dashboard.")
450
  except json.JSONDecodeError as e:
451
  st.error(f"JSON decode error: {e}")