m-ric HF staff commited on
Commit
d1675ab
·
verified ·
1 Parent(s): fbb2294

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, rationale = parse_llm_output(row["output"])
185
  map = create_map_from_markers(dataframe)
186
- return row["description"], map, rationale
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(