ajl2718 commited on
Commit
fc6ab0c
·
1 Parent(s): fe5e98d

use large db

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,15 +9,15 @@ download('au_vic_lg', 'saunteringcat/whereabouts-db')
9
  download('au_nsw_lg', 'saunteringcat/whereabouts-db')
10
 
11
  # create a matcher object
12
- matcher1 = Matcher('au_all_sm')
13
  matcher2 = Matcher('au_all_lg')
14
- matcher3 = Matcher('au_vic_lg')
15
- matcher4 = Matcher('au_all_sm')
16
 
17
  # function to geocode results
18
  def geocode(addresses):
19
  address_list = addresses.split('\n')
20
- return matcher1.geocode(address_list)
21
 
22
  # the gradio interface
23
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
 
9
  download('au_nsw_lg', 'saunteringcat/whereabouts-db')
10
 
11
  # create a matcher object
12
+ #matcher1 = Matcher('au_all_sm')
13
  matcher2 = Matcher('au_all_lg')
14
+ #matcher3 = Matcher('au_vic_lg')
15
+ #matcher4 = Matcher('au_all_sm')
16
 
17
  # function to geocode results
18
  def geocode(addresses):
19
  address_list = addresses.split('\n')
20
+ return matcher2.geocode(address_list)
21
 
22
  # the gradio interface
23
  with gr.Blocks(theme=gr.themes.Soft()) as demo: