Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
|
|
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"))
|