a10 commited on
Commit
2ac2fb0
·
1 Parent(s): 3e45eab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,6 +12,7 @@ acontainer1 = st.empty()
12
  acontainer2 = st.empty()
13
  acontainer3 = st.empty()
14
 
 
15
  def asubmit(aselected=""):
16
  acontainer3.write("TEST ")
17
  # adf2 = aparam[0]["adataframe"]
@@ -25,4 +26,4 @@ aoption = acontainer1.selectbox(
25
  'Which station?',
26
  adf['atitle']
27
  )
28
- acontainer2.button("Submit",on_click=asubmit,kwargs=dict(aselected=aoption))
 
12
  acontainer2 = st.empty()
13
  acontainer3 = st.empty()
14
 
15
+ #def asubmit(aselected="",adataframe=pd.DataFrame(),adummy=None):
16
  def asubmit(aselected=""):
17
  acontainer3.write("TEST ")
18
  # adf2 = aparam[0]["adataframe"]
 
26
  'Which station?',
27
  adf['atitle']
28
  )
29
+ acontainer2.button("Submit",on_click=asubmit,kwargs=dict(aselected="TEST"))