Shunfeng Zheng commited on
Commit
9fd4f2a
·
verified ·
1 Parent(s): a146294

Update 1_SpatialParse.py

Browse files
Files changed (1) hide show
  1. 1_SpatialParse.py +3 -3
1_SpatialParse.py CHANGED
@@ -99,7 +99,7 @@ def set_side_menu():
99
 
100
  global gpe_selected, loc_selected, rse_selected, model, types
101
  types =""
102
- params = st.experimental_get_query_params()
103
  # params = st.query_params
104
  # print(params, 777)
105
 
@@ -146,7 +146,7 @@ def set_side_menu():
146
 
147
 
148
  def set_input():
149
- params = st.experimental_get_query_params()
150
  # params = st.query_params
151
 
152
  if "text" not in params:
@@ -293,7 +293,7 @@ def set_header(): # tetis Geospacy LOGO
293
  def set_side_menu():
294
  global gpe_selected, loc_selected, rse_selected, model, types
295
  types = ""
296
- params = st.experimental_get_query_params()
297
  st.sidebar.markdown("## Deployment Method")
298
  st.sidebar.markdown("You can select the deployment method for the model.")
299
  deployment_options = ["API", "Local deployment"]
 
99
 
100
  global gpe_selected, loc_selected, rse_selected, model, types
101
  types =""
102
+ params = st.query_params
103
  # params = st.query_params
104
  # print(params, 777)
105
 
 
146
 
147
 
148
  def set_input():
149
+ params = st.query_params
150
  # params = st.query_params
151
 
152
  if "text" not in params:
 
293
  def set_side_menu():
294
  global gpe_selected, loc_selected, rse_selected, model, types
295
  types = ""
296
+ params = st.query_params
297
  st.sidebar.markdown("## Deployment Method")
298
  st.sidebar.markdown("You can select the deployment method for the model.")
299
  deployment_options = ["API", "Local deployment"]