chore: modelscope downloading state

This commit is contained in:
jialin
2024-09-29 18:58:12 +08:00
parent 69ffdd4604
commit 458f467985
9 changed files with 44 additions and 29 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ const StatusTag: React.FC<StatusTagProps> = ({
const renderContent = () => {
const percent = download?.percent || 0;
if (download && percent > 0 && percent < 100) {
if (download && percent > 0 && percent <= 100) {
return (
<>
<span className="progress">{download?.percent || 0}%</span>