Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,16 +103,6 @@ def run_display(text):
|
|
103 |
return map, rationale
|
104 |
|
105 |
|
106 |
-
df_examples = pd.DataFrame.from_dict(
|
107 |
-
[
|
108 |
-
{"description": description_loire, "output": output_example_loire},
|
109 |
-
{"description": description_aligned, "output": output_example_aligned},
|
110 |
-
{"description": description_chinatown, "output": output_example_chinatown},
|
111 |
-
{"description": description_taiwan, "output": output_example_taiwan},
|
112 |
-
]
|
113 |
-
)
|
114 |
-
|
115 |
-
|
116 |
def select_example(df, data: gr.SelectData):
|
117 |
row = df.iloc[data.index[0], :]
|
118 |
dataframe, rationale = parse_llm_output(row["output"])
|
|
|
103 |
return map, rationale
|
104 |
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
def select_example(df, data: gr.SelectData):
|
107 |
row = df.iloc[data.index[0], :]
|
108 |
dataframe, rationale = parse_llm_output(row["output"])
|