Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ajl2718
commited on
Commit
·
dd0edf7
1
Parent(s):
e6a4493
Update main page
Browse files
app.py
CHANGED
@@ -58,16 +58,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
58 |
pip install whereabouts
|
59 |
python -m whereabouts download us_ca_sm
|
60 |
```
|
61 |
-
This demo shows whereabouts with some example databases.
|
62 |
-
|
63 |
-
|
64 |
-
## License Disclaimer for Third-Party Data
|
65 |
-
Note that while the code from this package is licensed under the MIT license, the pre-built databases use data from data providers that may have restrictions for particular use cases:
|
66 |
-
|
67 |
-
- The Australian databases are built from the [Geocoded National Address File](https://https://data.gov.au/data/dataset/geocoded-national-address-file-g-naf) with conditions of use based on the [End User License Agreemment](https://data.gov.au/dataset/ds-dga-e1a365fc-52f5-4798-8f0c-ed1d33d43b6d/distribution/dist-dga-0102be65-3781-42d9-9458-fdaf7170efed/details?q=previous%20gnaf)
|
68 |
-
- The US databases are still work-in-progress but are based on data from [OpenAddresses](https://openaddresses.io/) and so any work with whereabouts based on US address data should adhere to the [OpenAddresses license](https://github.com/openaddresses/openaddresses/blob/master/LICENSE).
|
69 |
-
|
70 |
-
Users of this software must comply with the terms and conditions of the respective data licenses, which may impose additional restrictions or requirements. By using this software, you agree to comply with the relevant licenses for any third-party data.""")
|
71 |
with gr.Row():
|
72 |
with gr.Column():
|
73 |
dropdown_choice = gr.Dropdown(choices=[("Australia - Small", "au_all_sm"),
|
@@ -88,4 +79,13 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
88 |
geocode_button = gr.Button(variant='primary')
|
89 |
json_output = gr.JSON(label="Output JSON data")
|
90 |
geocode_button.click(fn=geocode, inputs=[text_input, dropdown_choice, radio_choice], outputs=json_output, api_name="whereabouts_geocoder")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
demo.launch()
|
|
|
58 |
pip install whereabouts
|
59 |
python -m whereabouts download us_ca_sm
|
60 |
```
|
61 |
+
This demo shows whereabouts with some example databases.""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
with gr.Row():
|
63 |
with gr.Column():
|
64 |
dropdown_choice = gr.Dropdown(choices=[("Australia - Small", "au_all_sm"),
|
|
|
79 |
geocode_button = gr.Button(variant='primary')
|
80 |
json_output = gr.JSON(label="Output JSON data")
|
81 |
geocode_button.click(fn=geocode, inputs=[text_input, dropdown_choice, radio_choice], outputs=json_output, api_name="whereabouts_geocoder")
|
82 |
+
gr.Markdown("""
|
83 |
+
## License Disclaimer for Third-Party Data
|
84 |
+
Note that while the code from this package is licensed under the MIT license, the pre-built databases use data from data providers that may have restrictions for particular use cases:
|
85 |
+
|
86 |
+
- The Australian databases are built from the [Geocoded National Address File](https://https://data.gov.au/data/dataset/geocoded-national-address-file-g-naf) with conditions of use based on the [End User License Agreemment](https://data.gov.au/dataset/ds-dga-e1a365fc-52f5-4798-8f0c-ed1d33d43b6d/distribution/dist-dga-0102be65-3781-42d9-9458-fdaf7170efed/details?q=previous%20gnaf)
|
87 |
+
- The US databases are still work-in-progress but are based on data from [OpenAddresses](https://openaddresses.io/) and so any work with whereabouts based on US address data should adhere to the [OpenAddresses license](https://github.com/openaddresses/openaddresses/blob/master/LICENSE).
|
88 |
+
|
89 |
+
Users of this software must comply with the terms and conditions of the respective data licenses, which may impose additional restrictions or requirements. By using this software, you agree to comply with the relevant licenses for any third-party data.
|
90 |
+
""")
|
91 |
demo.launch()
|