Spaces:
Sleeping
Sleeping
Ludovic Moncla
commited on
Commit
·
09ff6ee
1
Parent(s):
def6e0f
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,8 @@ with gr.Blocks() as demo:
|
|
| 88 |
run_btn.click(fn=extract_coordinates, inputs=inp, outputs=out_text)
|
| 89 |
|
| 90 |
out_text = gr.Textbox(label="Extract and normalize DMS coordinates (fine-tuned mT5)")
|
| 91 |
-
|
|
|
|
| 92 |
|
| 93 |
with gr.Row():
|
| 94 |
|
|
|
|
| 88 |
run_btn.click(fn=extract_coordinates, inputs=inp, outputs=out_text)
|
| 89 |
|
| 90 |
out_text = gr.Textbox(label="Extract and normalize DMS coordinates (fine-tuned mT5)")
|
| 91 |
+
out_map = gr.Map(label="Coordinates on Map")
|
| 92 |
+
run_btn.click(fn=norm_coordinates, inputs=inp, outputs=[out_text, out_map])
|
| 93 |
|
| 94 |
with gr.Row():
|
| 95 |
|