From dea875401a557fcd4b6624176e9a1d90bcae2721 Mon Sep 17 00:00:00 2001 From: Josh XT Date: Mon, 1 Apr 2024 22:41:42 -0400 Subject: [PATCH] USe proper prompt for image description --- Pipes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Pipes.py b/Pipes.py index 6a30d22..97a39e7 100644 --- a/Pipes.py +++ b/Pipes.py @@ -144,12 +144,15 @@ async def get_response(self, data, completion_type="chat"): { "role": "user", "content": [ - {"type": "text", "text": user_message}, + { + "type": "text", + "text": "Describe each stage of this image.", + }, *image_urls, ], } ], - max_tokens=100, + max_tokens=1024, temperature=data["temperature"], top_p=data["top_p"], )