a10 commited on
Commit
8f8fccd
·
1 Parent(s): 964ebb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,8 +23,8 @@ def asubmit(aparam):
23
  adf3 = pd.DataFrame(
24
  [
25
  [
26
- aselectedrow["alatitude"][aselectedindex.values()[0]],
27
- aselectedrow["alongitude"][aselectedindex.values()[0]],
28
  ]
29
  ],
30
  columns=['lat', 'lon']
@@ -83,3 +83,4 @@ aoption = acontainer1.selectbox(
83
  )
84
  if acontainer2.button("Submit") == True:
85
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,})
 
 
23
  adf3 = pd.DataFrame(
24
  [
25
  [
26
+ aselectedrow["alatitude"][aselectedindex[0]],
27
+ aselectedrow["alongitude"][aselectedindex[0]],
28
  ]
29
  ],
30
  columns=['lat', 'lon']
 
83
  )
84
  if acontainer2.button("Submit") == True:
85
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,})
86
+