aboutsummaryrefslogtreecommitdiffstats
path: root/summarizer.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-03-22 23:34:41 -0700
committerPinapelz <yukais@pinapelz.com>2026-03-22 23:34:41 -0700
commit8f859e4786a02fea69ec086814d4f667f2f01d5d (patch)
treedd9311fda0071b6523c3771fffe60b54a9a70d5c /summarizer.py
parent791bd4dae497d887b23f7962751dca4c933c4ed4 (diff)
parent491ec0a18a58384b3d74990161d69051353701db (diff)
Merge branch 'main' into v3
Diffstat (limited to 'summarizer.py')
-rw-r--r--summarizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/summarizer.py b/summarizer.py
index 0c30347..689626d 100644
--- a/summarizer.py
+++ b/summarizer.py
@@ -90,5 +90,5 @@ def generate_headline_and_content_from_images(img_urls: list[str], game: str, me
except openai.OpenAIError as e:
print(f"[ERROR] Function call to OpenAI for summarization failed ERROR -> {e} ")
database.close()
- return None, None
+ return f"NEW {game} INFORMATION / 新しい{game}情報", f"NEW {game} INFORMATION AVAILABLE / 新しい{game}情報が利用可能です"
return headline, content
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage