mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-15 15:57:42 +01:00
fix set_repo_visibility
This commit is contained in:
@@ -2921,6 +2921,8 @@ class HubApi:
|
||||
'SubScientificField': model_info.get('SubScientificField', None),
|
||||
'ScientificField': model_info.get('NEXA', {}).get('ScientificField', ''),
|
||||
'Source': model_info.get('NEXA', {}).get('Source', ''),
|
||||
'ModelTask': model_info.get('Tasks', [{}])[0].get('name'),
|
||||
'License': model_info.get('License', ''),
|
||||
}
|
||||
elif repo_type == REPO_TYPE_DATASET:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user