Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Aug 30, 2024
1 parent 20eaaec commit 1ddcdee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dotenv.config()

const replicate = new Replicate()

async function getModelFullNameWithVersion(model) {
async function getModelFullNameWithVersion (model) {
const [owner, name] = model.split('/')
if (owner && name) {
const { results: versions } = await replicate.models.versions.list(owner, name)
Expand Down Expand Up @@ -62,4 +62,4 @@ export async function run ({ model, prompt, outputDir }) {

await download(url, outputDir, { filename })
}
}
}

0 comments on commit 1ddcdee

Please sign in to comment.