Spaces:
Sleeping
Sleeping
Update pages/market_rent_estimation.py
Browse files
pages/market_rent_estimation.py
CHANGED
|
@@ -187,13 +187,13 @@ def main():
|
|
| 187 |
|
| 188 |
# Add padding between the boxes and the slider
|
| 189 |
st.markdown('<style>div[data-testid="stBlock"]{margin-top: 20px;}</style>', unsafe_allow_html=True)
|
| 190 |
-
|
| 191 |
# def safe_eval(val):
|
| 192 |
# try:
|
| 193 |
# return ast.literal_eval(val)
|
| 194 |
# except (ValueError, SyntaxError):
|
| 195 |
# return val
|
| 196 |
-
|
| 197 |
average_rent = reordered_df_properties_filtered['rent_combined'].mean()
|
| 198 |
|
| 199 |
x1 ="Comps " + str(average_rent)
|
|
@@ -210,7 +210,7 @@ def main():
|
|
| 210 |
if back_to_serach_tab1:
|
| 211 |
st.switch_page("app.py")
|
| 212 |
|
| 213 |
-
|
| 214 |
if __name__ == "__main__":
|
| 215 |
main()
|
| 216 |
-
|
|
|
|
| 187 |
|
| 188 |
# Add padding between the boxes and the slider
|
| 189 |
st.markdown('<style>div[data-testid="stBlock"]{margin-top: 20px;}</style>', unsafe_allow_html=True)
|
| 190 |
+
|
| 191 |
# def safe_eval(val):
|
| 192 |
# try:
|
| 193 |
# return ast.literal_eval(val)
|
| 194 |
# except (ValueError, SyntaxError):
|
| 195 |
# return val
|
| 196 |
+
|
| 197 |
average_rent = reordered_df_properties_filtered['rent_combined'].mean()
|
| 198 |
|
| 199 |
x1 ="Comps " + str(average_rent)
|
|
|
|
| 210 |
if back_to_serach_tab1:
|
| 211 |
st.switch_page("app.py")
|
| 212 |
|
| 213 |
+
|
| 214 |
if __name__ == "__main__":
|
| 215 |
main()
|
| 216 |
+
|