Skip to content

Commit

Permalink
Rename apps.json to models.json
Browse files Browse the repository at this point in the history
  • Loading branch information
catarak committed Dec 15, 2021
1 parent ce51873 commit 9797073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/download_models.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const apps = require('../apps.json')
const models = require('./models.json')
const fs = require('fs-extra')
const { resolve, basename } = require('path')
const { promisify } = require('util')
Expand Down Expand Up @@ -33,9 +33,9 @@ async function downloadZip(appName, url){
}

async function main(){
for (let appName in apps){
const url = apps[appName].models
await downloadZip(appName, url)
for (let modelName in models){
const url = models[modelName].models
await downloadZip(modelName, url)
}
}

Expand Down
File renamed without changes.

0 comments on commit 9797073

Please sign in to comment.