Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,10 +28,10 @@ def display_pole_data(pole_df):
|
|
28 |
# Display Charts
|
29 |
def display_charts(pole_df):
|
30 |
st.subheader("⚙️ Energy Generation Trends")
|
31 |
-
st.bar_chart(pole_df[['Solar_Generation__c', 'Wind_Generation__c']].set_index('
|
32 |
|
33 |
st.subheader("📉 Tilt vs Vibration")
|
34 |
-
st.scatter_chart(pole_df[['Tilt__c', 'Vibration__c']].set_index('
|
35 |
|
36 |
# Main function to run the dashboard
|
37 |
def main():
|
|
|
28 |
# Display Charts
|
29 |
def display_charts(pole_df):
|
30 |
st.subheader("⚙️ Energy Generation Trends")
|
31 |
+
st.bar_chart(pole_df[['Solar_Generation__c', 'Wind_Generation__c']].set_index('Pole__c'))
|
32 |
|
33 |
st.subheader("📉 Tilt vs Vibration")
|
34 |
+
st.scatter_chart(pole_df[['Tilt__c', 'Vibration__c']].set_index('Pole__c'))
|
35 |
|
36 |
# Main function to run the dashboard
|
37 |
def main():
|