giswqs commited on
Commit
a625994
·
1 Parent(s): 2a07f35

Updated URL

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. multiapp.py +5 -3
README.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  A multi-page streamlit app for the geospatial community.
4
 
5
- - Web app: <https://streamlit.gishub.org>
6
  - Source code: <https://github.com/giswqs/streamlit-geospatial>
7
 
8
  ## Real Estate Data and Market Trends
 
2
 
3
  A multi-page streamlit app for the geospatial community.
4
 
5
+ - Web app: <https://streamlit.geemap.org>
6
  - Source code: <https://github.com/giswqs/streamlit-geospatial>
7
 
8
  ## Real Estate Data and Market Trends
multiapp.py CHANGED
@@ -50,11 +50,13 @@ class MultiApp:
50
 
51
  titles = [a["title"] for a in self.apps]
52
  functions = [a["function"] for a in self.apps]
53
- default_radio = titles.index(app_state["page"]) if "page" in app_state else 0
 
54
 
55
  st.sidebar.title("Navigation")
56
 
57
- title = st.sidebar.radio("Go To", titles, index=default_radio, key="radio")
 
58
 
59
  app_state["page"] = st.session_state.radio
60
  # st.write('after', app_state)
@@ -76,6 +78,6 @@ class MultiApp:
76
  """
77
  This web [app](https://share.streamlit.io/giswqs/streamlit-geospatial/app.py) is maintained by [Qiusheng Wu](https://wetlands.io). You can follow me on social media:
78
  [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu) | [LinkedIn](https://www.linkedin.com/in/qiushengwu).
79
- This web app URL: <https://streamlit.gishub.org>
80
  """
81
  )
 
50
 
51
  titles = [a["title"] for a in self.apps]
52
  functions = [a["function"] for a in self.apps]
53
+ default_radio = titles.index(
54
+ app_state["page"]) if "page" in app_state else 0
55
 
56
  st.sidebar.title("Navigation")
57
 
58
+ title = st.sidebar.radio(
59
+ "Go To", titles, index=default_radio, key="radio")
60
 
61
  app_state["page"] = st.session_state.radio
62
  # st.write('after', app_state)
 
78
  """
79
  This web [app](https://share.streamlit.io/giswqs/streamlit-geospatial/app.py) is maintained by [Qiusheng Wu](https://wetlands.io). You can follow me on social media:
80
  [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu) | [LinkedIn](https://www.linkedin.com/in/qiushengwu).
81
+ This web app URL: <https://streamlit.geemap.org>
82
  """
83
  )