diff --git a/web/screens/ExploreModels/ExploreModelItem/index.tsx b/web/screens/ExploreModels/ExploreModelItem/index.tsx index bbfad04b25..c3bcdd9679 100644 --- a/web/screens/ExploreModels/ExploreModelItem/index.tsx +++ b/web/screens/ExploreModels/ExploreModelItem/index.tsx @@ -46,13 +46,15 @@ const ExploreModelItem = forwardRef(({ model }, ref) => { Author -

{model.metadata.author}

+

+ {model.metadata.author} +

Model ID -

{model.id}

+

{model.id}

@@ -60,7 +62,7 @@ const ExploreModelItem = forwardRef(({ model }, ref) => {
{model.metadata.tags.map((tag, i) => ( - + {tag} ))} diff --git a/web/screens/ExploreModels/ExploreModelList/index.tsx b/web/screens/ExploreModels/ExploreModelList/index.tsx index 1eacc00256..d402d5c50d 100644 --- a/web/screens/ExploreModels/ExploreModelList/index.tsx +++ b/web/screens/ExploreModels/ExploreModelList/index.tsx @@ -10,7 +10,10 @@ const ExploreModelList: React.FC = ({ models }) => { return (
{models - ?.sort((a, b) => a.metadata.size - b.metadata.size) + ?.sort((a) => { + if (a.metadata.tags.includes('Recommended')) return -1 + return 0 + }) ?.map((model) => )}
)