Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ajl2718
commited on
Commit
·
79eef28
1
Parent(s):
55d1ec4
Fix bug
Browse files
app.py
CHANGED
@@ -45,5 +45,5 @@ with gr.Blocks() as demo:
|
|
45 |
text_input = gr.Textbox(lines=2, label="Addresses to geocode (one row per address)")
|
46 |
geocode_button = gr.Button()
|
47 |
json_output = gr.JSON(label="Output JSON data")
|
48 |
-
geocode_button.click(fn=geocode, inputs=
|
49 |
demo.launch()
|
|
|
45 |
text_input = gr.Textbox(lines=2, label="Addresses to geocode (one row per address)")
|
46 |
geocode_button = gr.Button()
|
47 |
json_output = gr.JSON(label="Output JSON data")
|
48 |
+
geocode_button.click(fn=geocode, inputs=text_input, outputs=json_output, api_name="whereabouts_geocoder")
|
49 |
demo.launch()
|