a10 commited on
Commit
da59264
·
1 Parent(s): 6bc184e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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
- #acontainer2.write(aoption)
 
 
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
+ )