Skip to content

Commit

Permalink
USe proper prompt for image description
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Apr 2, 2024
1 parent 4526cfa commit dea8754
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Pipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)
Expand Down

0 comments on commit dea8754

Please sign in to comment.