Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ acontainer2 = st.empty()
|
|
13 |
acontainer3 = st.empty()
|
14 |
|
15 |
def asubmit(aparam):
|
16 |
-
acontainer3.write(
|
17 |
# adf2 = aparam[0]["adataframe"]
|
18 |
# astationcode = adf2.loc[adf2["atitle"]==aparam[0]["aselected"]]['astationcode']
|
19 |
|
@@ -25,4 +25,4 @@ aoption = acontainer1.selectbox(
|
|
25 |
'Which station?',
|
26 |
adf['atitle']
|
27 |
)
|
28 |
-
acontainer2.button("Submit",on_click=asubmit,args=
|
|
|
13 |
acontainer3 = st.empty()
|
14 |
|
15 |
def asubmit(aparam):
|
16 |
+
acontainer3.write("TEST")
|
17 |
# adf2 = aparam[0]["adataframe"]
|
18 |
# astationcode = adf2.loc[adf2["atitle"]==aparam[0]["aselected"]]['astationcode']
|
19 |
|
|
|
25 |
'Which station?',
|
26 |
adf['atitle']
|
27 |
)
|
28 |
+
acontainer2.button("Submit",on_click=asubmit,args=({'aselected':aoption,'adataframe':adf,'adummy':None,}))
|