Sanjayraju30 commited on
Commit
df1528b
·
verified ·
1 Parent(s): 69d8933

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -3,8 +3,7 @@ import pandas as pd
3
  import streamlit as st
4
  import pydeck as pdk
5
  from datetime import datetime, timedelta
6
- from salesforce_integration import fetch_salesforce_data
7
- from utils import process_data # Optional, if you need data processing
8
  # ---- Constants ----
9
  POLES_PER_SITE = 12
10
  SITES = {
@@ -126,12 +125,4 @@ if selected_site in SITES:
126
  else:
127
  st.warning("Invalid site. Please enter one of: Hyderabad, Gadwal, Kurnool, Ballari")
128
 
129
- # Fetch data from Salesforce
130
- poles_data = fetch_salesforce_data()
131
-
132
- # Process the data (optional, based on your model needs)
133
- processed_data = process_data(poles_data)
134
 
135
- # Display the processed data in Streamlit
136
- st.title("Poles Data Visualization")
137
- st.write("Processed Poles Data", processed_data)
 
3
  import streamlit as st
4
  import pydeck as pdk
5
  from datetime import datetime, timedelta
6
+
 
7
  # ---- Constants ----
8
  POLES_PER_SITE = 12
9
  SITES = {
 
125
  else:
126
  st.warning("Invalid site. Please enter one of: Hyderabad, Gadwal, Kurnool, Ballari")
127
 
 
 
 
 
 
128