mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 16:27:45 +01:00
Update modelscope/hub/constants.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -125,9 +125,9 @@ class SortKey(object):
|
|||||||
LAST_MODIFIED = 'last_modified'
|
LAST_MODIFIED = 'last_modified'
|
||||||
|
|
||||||
|
|
||||||
SortKeyMap = {
|
VALID_SORT_KEYS = {
|
||||||
SortKey.DEFAULT: SortKey.DEFAULT,
|
SortKey.DEFAULT,
|
||||||
SortKey.DOWNLOADS: SortKey.DOWNLOADS,
|
SortKey.DOWNLOADS,
|
||||||
SortKey.LIKES: SortKey.LIKES,
|
SortKey.LIKES,
|
||||||
SortKey.LAST_MODIFIED: SortKey.LAST_MODIFIED
|
SortKey.LAST_MODIFIED,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user