Skip to content

Commit

Permalink
Add back model checks as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
georgi committed Feb 3, 2025
1 parent 1a294cb commit e910e45
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions web/src/stores/NodeStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,22 @@ export const createNodeStore = (
addNodeType(node.type, PlaceholderNode);
}
}
// const modelFiles = extractModelFiles(workflow.graph.nodes);
// setTimeout(() => {
// tryCacheFiles(modelFiles).then((paths) => {
// set({
// missingModelFiles: paths.filter((m) => !m.downloaded)
// });
// });
// const modelRepos = extractModelRepos(workflow.graph.nodes);
// tryCacheRepos(modelRepos).then((repos) => {
// set({
// missingModelRepos: repos
// .filter((r) => !r.downloaded)
// .map((r) => r.repo_id)
// });
// });
// }, 1000);

set({
workflow: workflow,
Expand Down

0 comments on commit e910e45

Please sign in to comment.