Skip to content

Commit bddb89e

Browse files
committed
Fix model loading progress showing values over 100%
1 parent cc8af8e commit bddb89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/remove/BackgroundRemover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function BackgroundRemover() {
3737
if (!modelLoaded) {
3838
initializeSegmenter((progress) => {
3939
if (progress.progress !== undefined) {
40-
setModelProgress(progress.progress * 100);
40+
setModelProgress(progress.progress);
4141
}
4242
}).then(() => {
4343
setModelLoaded(true);

0 commit comments

Comments
 (0)