Skip to content

Commit

Permalink
Fix typo #104
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Jun 12, 2023
1 parent 35b7030 commit 6805736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/midjourney.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class Midjourney extends MidjourneyMessage {
}
async Imagine(prompt: string, loading?: LoadingHandler) {
if (!prompt.includes("--seed")) {
const speed = random(1000, 9999);
prompt = `${prompt} --seed ${speed}`;
const seed = random(1000, 999999);
prompt = `${prompt} --seed ${seed}`;
}

const nonce = nextNonce();
Expand Down

0 comments on commit 6805736

Please sign in to comment.