Update app.py
Browse files
app.py
CHANGED
@@ -221,11 +221,13 @@ with gr.Blocks(
|
|
221 |
value=description_sf,
|
222 |
)
|
223 |
button = gr.Button()
|
224 |
-
gr.Markdown("### LLM Output
|
225 |
|
226 |
-
# Get initial map and rationale
|
227 |
example_dataframe, example_rationale = parse_llm_output(output_example_sf)
|
228 |
display_thoughts = gr.Markdown("```text\n" + output_example_sf + "\n```")
|
|
|
|
|
|
|
229 |
starting_map = create_map_from_markers(example_dataframe)
|
230 |
map = Folium(value=starting_map, height=600, label="Chosen locations")
|
231 |
button.click(run_display, inputs=[text], outputs=[map, display_thoughts])
|
|
|
221 |
value=description_sf,
|
222 |
)
|
223 |
button = gr.Button()
|
224 |
+
gr.Markdown("### LLM Output 👇")
|
225 |
|
|
|
226 |
example_dataframe, example_rationale = parse_llm_output(output_example_sf)
|
227 |
display_thoughts = gr.Markdown("```text\n" + output_example_sf + "\n```")
|
228 |
+
|
229 |
+
gr.Markdown("_Click the markers on the map map to display information about the places._")
|
230 |
+
# Get initial map
|
231 |
starting_map = create_map_from_markers(example_dataframe)
|
232 |
map = Folium(value=starting_map, height=600, label="Chosen locations")
|
233 |
button.click(run_display, inputs=[text], outputs=[map, display_thoughts])
|