Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -181,9 +181,9 @@ def run_display(text):
|
|
181 |
|
182 |
def select_example(df, data: gr.SelectData):
|
183 |
row = df.iloc[data.index[0], :]
|
184 |
-
dataframe,
|
185 |
map = create_map_from_markers(dataframe)
|
186 |
-
return row["description"], map,
|
187 |
|
188 |
|
189 |
with gr.Blocks(
|
|
|
181 |
|
182 |
def select_example(df, data: gr.SelectData):
|
183 |
row = df.iloc[data.index[0], :]
|
184 |
+
dataframe, _ = parse_llm_output(row["output"])
|
185 |
map = create_map_from_markers(dataframe)
|
186 |
+
return row["description"], map, "```text\n" + row["output"] + "\n```"
|
187 |
|
188 |
|
189 |
with gr.Blocks(
|