Margerie commited on
Commit
7ea31eb
·
verified ·
1 Parent(s): d995639

Update 1_📝_form.py

Browse files
Files changed (1) hide show
  1. 1_📝_form.py +1 -2
1_📝_form.py CHANGED
@@ -19,9 +19,8 @@ def get_cached_data():
19
  languages_map = pd.Series(languages_df["Language"].values, index=languages_df["ISO code"]).to_dict()
20
 
21
  license_df = pd.read_html("https://huggingface.co/docs/hub/repositories-licenses")[0]
22
- print("license_df.keys()",license_df.keys())
23
  license_map = pd.Series(
24
- license_df["License identifier (to use in model card)"].values, index=license_df.Fullname
25
  ).to_dict()
26
 
27
  available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]
 
19
  languages_map = pd.Series(languages_df["Language"].values, index=languages_df["ISO code"]).to_dict()
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()]