Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,7 @@ def main():
|
|
| 33 |
user_input = st.text_input("Enter special parameters of the building:")
|
| 34 |
|
| 35 |
if st.button("Submit"):
|
|
|
|
| 36 |
st.session_state['user_select_value'] = selected_option
|
| 37 |
st.session_state['year_buit'] = 1990
|
| 38 |
st.session_state['execution_dates'] = 2014
|
|
@@ -40,14 +41,15 @@ def main():
|
|
| 40 |
market_val, submarket_val = get_market_submarket(df_properties, selected_option)
|
| 41 |
st.write(market_val)
|
| 42 |
st.write(submarket_val)
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
-
if st.button("Home"):
|
| 46 |
-
|
| 47 |
-
if st.button("Page 1"):
|
| 48 |
-
|
| 49 |
-
if st.button("Page 2"):
|
| 50 |
-
|
| 51 |
|
| 52 |
if __name__ == "__main__":
|
| 53 |
main()
|
|
|
|
| 33 |
user_input = st.text_input("Enter special parameters of the building:")
|
| 34 |
|
| 35 |
if st.button("Submit"):
|
| 36 |
+
|
| 37 |
st.session_state['user_select_value'] = selected_option
|
| 38 |
st.session_state['year_buit'] = 1990
|
| 39 |
st.session_state['execution_dates'] = 2014
|
|
|
|
| 41 |
market_val, submarket_val = get_market_submarket(df_properties, selected_option)
|
| 42 |
st.write(market_val)
|
| 43 |
st.write(submarket_val)
|
| 44 |
+
st.switch_page("pages/page_0.py")
|
| 45 |
|
| 46 |
|
| 47 |
+
# if st.button("Home"):
|
| 48 |
+
# st.switch_page("app.py")
|
| 49 |
+
# if st.button("Page 1"):
|
| 50 |
+
# st.switch_page("pages/page_1.py")
|
| 51 |
+
# if st.button("Page 2"):
|
| 52 |
+
# st.switch_page("pages/page_2.py")
|
| 53 |
|
| 54 |
if __name__ == "__main__":
|
| 55 |
main()
|