VasilisStavrianoudakis vss-arch commited on
Commit
348506e
·
verified ·
1 Parent(s): fd031dd

Updated the License identifier key name (#1)

Browse files

- Updated the License identifier key name (b973fe9095c0818ec0ca5da7ed4a564557f017e5)


Co-authored-by: Vasilis Stavrianoudakis <[email protected]>

Files changed (1) hide show
  1. 1_📝_form.py +1 -1
1_📝_form.py CHANGED
@@ -12,7 +12,7 @@ def get_cached_data():
12
 
13
  license_df = pd.read_html("https://huggingface.co/docs/hub/repositories-licenses")[0]
14
  license_map = pd.Series(
15
- license_df["License identifier (to use in model card)"].values, index=license_df.Fullname
16
  ).to_dict()
17
 
18
  available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]
 
12
 
13
  license_df = pd.read_html("https://huggingface.co/docs/hub/repositories-licenses")[0]
14
  license_map = pd.Series(
15
+ license_df["License identifier (to use in repo card)"].values, index=license_df.Fullname
16
  ).to_dict()
17
 
18
  available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]