Skip to content

Commit

Permalink
Update example.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgco committed May 12, 2022
1 parent 964ab3a commit 2e281a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const WomboDream = require('dream-api');

async function main() {
await WomboDream.printStyles();
console.log(await WomboDream.generateImage(1, "cat"));
let styles = await WomboDream.getStyles();
console.log(await WomboDream.generateImage(1, "dog"));
}

main();

0 comments on commit 2e281a7

Please sign in to comment.