From 135147e89121b1168a90ab92be955cfca1fddf56 Mon Sep 17 00:00:00 2001 From: Rajtilak Bhattacharjee Date: Thu, 25 Apr 2024 20:52:26 +0530 Subject: [PATCH] Modify blogger.py and summarizer.py Removed timeout param since it was leading to API error with OpenRouter --- src/utils/blogger.py | 1 - src/utils/summarizer.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/utils/blogger.py b/src/utils/blogger.py index afd6369..096c10b 100644 --- a/src/utils/blogger.py +++ b/src/utils/blogger.py @@ -30,7 +30,6 @@ def generate_blogpost(self): ], }, ), - timeout=1.5, ) response_text = response.text diff --git a/src/utils/summarizer.py b/src/utils/summarizer.py index 3b09ef3..a32f90f 100644 --- a/src/utils/summarizer.py +++ b/src/utils/summarizer.py @@ -29,7 +29,6 @@ def generate_summary(self): ], }, ), - timeout=1.5, ) response_text = response.text