Skip to content

Commit 7f70430

Browse files
Update to untrained state when importing data samples (#257)
1 parent a4c70eb commit 7f70430

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/script/stores/mlStore.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function loadDatasetFromFile(file: File) {
3737
const gestureData: PersistantGestureData[] = JSON.parse(
3838
contents,
3939
) as PersistantGestureData[];
40+
updateToUntrainedState();
4041
gestures.importFrom(gestureData);
4142
}
4243
};

0 commit comments

Comments
 (0)