Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ajl2718
commited on
Commit
·
f4b593e
1
Parent(s):
6306843
Update button
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
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()
|
|
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
45 |
text_input = gr.Textbox(lines=2, label="Addresses to geocode (one row per address)")
|
46 |
+
geocode_button = gr.Button(variant='primary')
|
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()
|