Skip to content

Commit

Permalink
correct task instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitgupta412 committed Nov 15, 2024
1 parent a0dc95c commit a97225a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lotus/templates/task_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ def filter_user_message_formatter(
if not image_inputs or len(image_inputs) == 0:
return {
"role": "user",
"content": {
"type": "text",
"text": f"Claim: {user_instruction}\n\nContext:\n{text}",
},
"content": f"Claim: {user_instruction}\n\nContext:\n{text}",
}
return {
"role": "user",
Expand Down

0 comments on commit a97225a

Please sign in to comment.