Skip to content

Commit

Permalink
Bump the temperature of requests for image prompts
Browse files Browse the repository at this point in the history
Signed-off-by: bghira <bghira@users.github.com>
  • Loading branch information
bghira committed May 14, 2023
1 parent 29d2f82 commit 588c591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_tron_master/classes/openai/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def insult_or_compliment_random(self):
return await self.compliment_user_selection()

async def random_image_prompt(self, theme: str = None):
prompt = f"Print ONLY a random text-to-image prompt for Stable Diffusion using condensed keywords and plus++ to emphasise and minus-- to deemphasize."
prompt = f"Print ONLY a random text-to-image prompt for Stable Diffusion using condensed keywords and suffixes ++ to emphasize and -- to deemphasize."
if theme is not None:
prompt = prompt + '. Theme: ' + theme
return await self.turbo_completion("You are a Stable Diffusion Prompt Generator Bot. Respond as one would.", prompt, temperature=1.18)
Expand Down

0 comments on commit 588c591

Please sign in to comment.