Skip to content

Commit

Permalink
fix yaml path
Browse files Browse the repository at this point in the history
  • Loading branch information
ramkrishna2910 committed Dec 8, 2023
1 parent a3e8f4b commit 6699001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', function () {
const parentDir = pathParts.slice(0, -1).join('/');
const yamlFile = yamlFiles.find(yaml => yaml.path === `${parentDir}/turnkey_stats.yaml`);
if (yamlFile) {
return fetch(`https://raw.githubusercontent.com/onnx/models/raw/main/${yamlFile.path}`)
return fetch(`https://raw.githubusercontent.com/onnx/models/main/${yamlFile.path}`)
.then(response => response.text())
.then(yamlText => ({ file, yamlText }))
.catch(error => {
Expand Down

0 comments on commit 6699001

Please sign in to comment.