model -> repo

#11
by nbroad HF staff - opened
Files changed (1) hide show
  1. 1_πŸ“_form.py +1 -1
1_πŸ“_form.py CHANGED
@@ -20,7 +20,7 @@ def get_cached_data():
20
 
21
  license_df = pd.read_html("https://huggingface.co/docs/hub/repositories-licenses")[0]
22
  license_map = pd.Series(
23
- license_df["License identifier (to use in model card)"].values, index=license_df.Fullname
24
  ).to_dict()
25
 
26
  available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]
 
20
 
21
  license_df = pd.read_html("https://huggingface.co/docs/hub/repositories-licenses")[0]
22
  license_map = pd.Series(
23
+ license_df["License identifier (to use in repo card)"].values, index=license_df.Fullname
24
  ).to_dict()
25
 
26
  available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]