mattritchey commited on
Commit
deb70c1
·
1 Parent(s): db8bfd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,7 +39,7 @@ def map_results(results):
39
  return folium
40
 
41
 
42
- @st.cache
43
  def get_housing_data(address_input):
44
  address = address_input.replace(
45
  ' ', '+').replace(',', '').replace('#+', '').upper()
@@ -77,8 +77,8 @@ def get_housing_data(address_input):
77
  return final2
78
 
79
 
80
- @st.cache(allow_output_mutation=True)
81
- def address_quick(df, n_jobs=2):
82
  if isinstance(df, pd.DataFrame):
83
  df = df.drop_duplicates()
84
  df['address_input'] = df.iloc[:, 0]+', '+df.iloc[:, 1] + \
 
39
  return folium
40
 
41
 
42
+ # @st.cache
43
  def get_housing_data(address_input):
44
  address = address_input.replace(
45
  ' ', '+').replace(',', '').replace('#+', '').upper()
 
77
  return final2
78
 
79
 
80
+ # @st.cache(allow_output_mutation=True)
81
+ def address_quick(df, n_jobs=24):
82
  if isinstance(df, pd.DataFrame):
83
  df = df.drop_duplicates()
84
  df['address_input'] = df.iloc[:, 0]+', '+df.iloc[:, 1] + \