Created
June 23, 2022 05:13
-
-
Save zh/88c46434624b8eccd2a7483396624ad9 to your computer and use it in GitHub Desktop.
waifu generation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const generateWaifu = require('waifu-generator') | |
async function genWaifu () { | |
try { | |
for (var i = 1; i <= 1000; i++) { | |
const options = { | |
filename: name, | |
path: './images' | |
} | |
await generateWaifu(options) | |
} | |
} catch (error) { | |
console.error('error in genWaifu: ', error) | |
} | |
} | |
genWaifu() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment