Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -331,15 +331,10 @@ def refresh_explorer(dataset_key: str, split_name: str) -> Tuple[gr.update, pd.D
|
|
| 331 |
|
| 332 |
profile_box = build_dataset_profile(df)
|
| 333 |
summary_box = (
|
| 334 |
-
f"### Split summary
|
| 335 |
-
|
| 336 |
-
"
|
| 337 |
-
f"**
|
| 338 |
-
"
|
| 339 |
-
f"**Label:** `{REPO_CONFIG[dataset_key]['label']}`
|
| 340 |
-
"
|
| 341 |
-
f"**Available splits:** {', '.join(splits)}
|
| 342 |
-
"
|
| 343 |
f"**Preview rows:** {len(display_df)}"
|
| 344 |
)
|
| 345 |
|
|
|
|
| 331 |
|
| 332 |
profile_box = build_dataset_profile(df)
|
| 333 |
summary_box = (
|
| 334 |
+
f"### Split summary\n\n"
|
| 335 |
+
f"**Dataset:** `{dataset_key}` \n"
|
| 336 |
+
f"**Label:** `{REPO_CONFIG[dataset_key]['label']}` \n"
|
| 337 |
+
f"**Available splits:** {', '.join(splits)} \n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 338 |
f"**Preview rows:** {len(display_df)}"
|
| 339 |
)
|
| 340 |
|