Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SenaThenu authored Jul 16, 2024
1 parent 8182942 commit 9839ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let model;
// loading it only once
async function loadModel() {
if (!model) {
model = await tf.loadLayersModel("/model.json");
model = await tf.loadLayersModel("./model.json");
console.log(model.summary()); // Log the model summary for debugging
}
}
Expand Down

0 comments on commit 9839ee8

Please sign in to comment.