diff --git a/web/app/_components/ExploreModelContainer/index.tsx b/web/app/_components/ExploreModelContainer/index.tsx index af865151e..09743d142 100644 --- a/web/app/_components/ExploreModelContainer/index.tsx +++ b/web/app/_components/ExploreModelContainer/index.tsx @@ -8,7 +8,7 @@ const ExploreModelContainer: React.FC = () => (
diff --git a/web/app/_components/ExploreModelList/index.tsx b/web/app/_components/ExploreModelList/index.tsx index ceed1ec86..8418951b2 100644 --- a/web/app/_components/ExploreModelList/index.tsx +++ b/web/app/_components/ExploreModelList/index.tsx @@ -17,6 +17,9 @@ const ExploreModelList: React.FC = () => { }); useEffect(() => { + if (modelList.length === 0 && modelSearch.length > 0) { + setLoadMoreInProress(true); + } getHuggingFaceModel(modelSearch); }, [modelSearch]);