davanstrien HF Staff commited on
Commit
f38a125
·
1 Parent(s): 5254469

add abstract

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -210,15 +210,21 @@ def model_card_length_by_autogenerated():
210
  )
211
 
212
 
 
 
 
 
 
 
 
 
213
  df = load_data()
214
  top_n = df.library.value_counts().shape[0]
215
  libraries = [library for library in df.library.unique() if library]
216
  metadata_coverage_columns = [c for c in df.columns if c.startswith("has")]
217
  with gr.Blocks() as demo:
218
  gr.Markdown("# 🤗 Hub Metadata Explorer")
219
- gr.Markdown(
220
- "tl;dr: this dashboard aims to provide an overview of model metadata on the hub"
221
- )
222
  with gr.Tab("Tag frequencies"):
223
  gr.Markdown(
224
  "Tags are one of the key ways in which users may identify models which are of interest. This tab provides "
 
210
  )
211
 
212
 
213
+ _ABSTRACT = """
214
+ tl;dr this dashboard aims to provide an overview of metadata associated with models hosted on the Hugging Face hub.
215
+ \n
216
+ Each tab of this dashboard focuses on a different aspect of model metadata on the hub.
217
+ Many of the tabs in the dashboard have a particular focus on the metadata coverage for different libraries in the hub.
218
+ """
219
+
220
+
221
  df = load_data()
222
  top_n = df.library.value_counts().shape[0]
223
  libraries = [library for library in df.library.unique() if library]
224
  metadata_coverage_columns = [c for c in df.columns if c.startswith("has")]
225
  with gr.Blocks() as demo:
226
  gr.Markdown("# 🤗 Hub Metadata Explorer")
227
+ gr.Markdown(_ABSTRACT)
 
 
228
  with gr.Tab("Tag frequencies"):
229
  gr.Markdown(
230
  "Tags are one of the key ways in which users may identify models which are of interest. This tab provides "