From 2bb79cac9536d7300f486fc738cc966169a09fc4 Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Sat, 18 Feb 2023 00:08:20 -0500 Subject: [PATCH] update max tokens for prompt optimizer --- cogs/prompt_optimizer_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/prompt_optimizer_cog.py b/cogs/prompt_optimizer_cog.py index df47917..5aabd4d 100644 --- a/cogs/prompt_optimizer_cog.py +++ b/cogs/prompt_optimizer_cog.py @@ -87,7 +87,7 @@ class ImgPromptOptimizer(discord.Cog, name="ImgPromptOptimizer"): temp_override=0.9, presence_penalty_override=0.5, best_of_override=1, - max_tokens_override=80, + max_tokens_override=60, custom_api_key=user_api_key, )