MLDeveloper commited on
Commit
5b84378
·
verified ·
1 Parent(s): 37b1115

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -62,23 +62,7 @@ if submitted and location:
62
  st.write(f"**Monthly savings in ₹**: {monthly_savings}")
63
  st.write(f"**Payback period in years**: {payback_period}")
64
 
65
- # Visual Summary
66
- st.subheader("📊 Visual Summary")
67
- fig = go.Figure(data=[
68
- go.Bar(
69
- name="System Parameters",
70
- x=["System Size (kW)", "Daily Output (kWh)", "Total Cost (₹)", "Monthly Savings (₹)", "Payback (Years)"],
71
- y=[system_size_kw, estimated_daily_output, total_system_cost, monthly_savings, payback_period],
72
- marker_color='#636EFA'
73
- )
74
- ])
75
- fig.update_layout(
76
- title="Solar System Estimation Overview",
77
- yaxis_title="Values",
78
- xaxis_title="Parameters"
79
- )
80
- st.plotly_chart(fig, use_container_width=True)
81
-
82
  st.info("Note: Tariff assumed ₹7/kWh. Actual payback may vary based on location, grid policy, and maintenance.")
83
 
84
  else:
 
62
  st.write(f"**Monthly savings in ₹**: {monthly_savings}")
63
  st.write(f"**Payback period in years**: {payback_period}")
64
 
65
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  st.info("Note: Tariff assumed ₹7/kWh. Actual payback may vary based on location, grid policy, and maintenance.")
67
 
68
  else: