Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
import streamlit as st
|
3 |
import pandas as pd
|
4 |
|
@@ -19,6 +18,6 @@ adf = pd.DataFrame(
|
|
19 |
aoption = acontainer1.selectbox(
|
20 |
'Which station?',
|
21 |
adf['atitle'],
|
22 |
-
on_change=aoptionchange
|
23 |
-
|
24 |
-
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
|
|
|
18 |
aoption = acontainer1.selectbox(
|
19 |
'Which station?',
|
20 |
adf['atitle'],
|
21 |
+
on_change=aoptionchange,
|
22 |
+
args={'aselectedindex':index,}
|
23 |
+
)
|