From 5057351c27b48b90840a34ef0d0152be84d99496 Mon Sep 17 00:00:00 2001 From: maluuck Date: Wed, 23 Oct 2024 11:39:43 +0200 Subject: [PATCH] applied pre-commit --- backend/src/summarization/chat_bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/summarization/chat_bot.py b/backend/src/summarization/chat_bot.py index 24c0bef6..9f3354e8 100644 --- a/backend/src/summarization/chat_bot.py +++ b/backend/src/summarization/chat_bot.py @@ -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."