Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ acontainer2 = st.empty()
|
|
13 |
acontainer3 = st.empty()
|
14 |
|
15 |
def asubmit(aparam):
|
16 |
-
adf2 = aparam["adataframe"]
|
17 |
-
astationcode = adf2.loc[adf2["atitle"]==aparam["aselected"]]
|
18 |
acontainer3.write(astationcode)
|
19 |
adf = pd.DataFrame(
|
20 |
astations,
|
|
|
13 |
acontainer3 = st.empty()
|
14 |
|
15 |
def asubmit(aparam):
|
16 |
+
adf2 = aparam[0]["adataframe"]
|
17 |
+
astationcode = adf2.loc[adf2["atitle"]==aparam[0]["aselected"]]['astationcode']
|
18 |
acontainer3.write(astationcode)
|
19 |
adf = pd.DataFrame(
|
20 |
astations,
|