Skip to content

Commit

Permalink
applied pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Maluuck committed Oct 23, 2024
1 parent 693b2d2 commit 5057351
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/src/summarization/chat_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def make_prompt(message, proteins, funct_terms, abstract):
else ""
)
protein_prompt = (
f"using only the provided proteins stating a synonym if used." if len(proteins) > 0 else ""
f"using only the provided proteins stating a synonym if used."
if len(proteins) > 0
else ""
)
abstract_prompt = (
f"use the information from the {len(abstract)} provided abstracts and state the pmids if used."
Expand Down

0 comments on commit 5057351

Please sign in to comment.