Spaces:
Sleeping
Sleeping
Commit
·
a7fa6d8
1
Parent(s):
a50d783
Update app.py
Browse files
app.py
CHANGED
@@ -65,8 +65,7 @@ def crop_hail_jpg_filter(f, crop_coords, scaling_factor=255):
|
|
65 |
|
66 |
@st.cache_data
|
67 |
def get_data(start_date,end_date):
|
68 |
-
files = glob.glob(
|
69 |
-
'/png/2022/**/*.png', recursive=True)
|
70 |
|
71 |
files_dates = np.array([int(f[-19:-11]) for f in files])
|
72 |
mask = np.where((files_dates >= int(start_date)) & (
|
@@ -87,7 +86,7 @@ col1, col2 = st.columns((2))
|
|
87 |
|
88 |
#Input Values
|
89 |
address = st.sidebar.text_input("Address", "123 Main Street, Dallas, TX 75126")
|
90 |
-
d = st.sidebar.date_input("Date", pd.Timestamp(2022,
|
91 |
days_within = st.sidebar.selectbox('Days Within:', ('30', '90', '180', 'Day Of',))
|
92 |
circle_radius = st.sidebar.selectbox('Box Radius (Miles)', (5, 10, 25))
|
93 |
|
|
|
65 |
|
66 |
@st.cache_data
|
67 |
def get_data(start_date,end_date):
|
68 |
+
files = glob.glob('/png/2022/**/*.png', recursive=True)
|
|
|
69 |
|
70 |
files_dates = np.array([int(f[-19:-11]) for f in files])
|
71 |
mask = np.where((files_dates >= int(start_date)) & (
|
|
|
86 |
|
87 |
#Input Values
|
88 |
address = st.sidebar.text_input("Address", "123 Main Street, Dallas, TX 75126")
|
89 |
+
d = st.sidebar.date_input("Date", pd.Timestamp(2022, 2, 1))
|
90 |
days_within = st.sidebar.selectbox('Days Within:', ('30', '90', '180', 'Day Of',))
|
91 |
circle_radius = st.sidebar.selectbox('Box Radius (Miles)', (5, 10, 25))
|
92 |
|