nbroad HF staff commited on
Commit
50b58d1
β€’
1 Parent(s): b4a2efb
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()]