Spaces:
Sleeping
Sleeping
license bug
Browse files- 1_📝_form.py +1 -1
1_📝_form.py
CHANGED
@@ -22,7 +22,7 @@ def get_cached_data():
|
|
22 |
print("license_df.keys()",license_df.keys())
|
23 |
print(license_df["License identifier (to use in repo card)"])
|
24 |
license_map = pd.Series(
|
25 |
-
license_df["License identifier (to use in
|
26 |
).to_dict()
|
27 |
|
28 |
available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]
|
|
|
22 |
print("license_df.keys()",license_df.keys())
|
23 |
print(license_df["License identifier (to use in repo card)"])
|
24 |
license_map = pd.Series(
|
25 |
+
license_df["License identifier (to use in repo card)"].values, index=license_df.Fullname
|
26 |
).to_dict()
|
27 |
|
28 |
available_metrics = [x['id'] for x in requests.get('https://huggingface.co/api/metrics').json()]
|