From 975ff16998754ead722aad1edf535c656bdb626c Mon Sep 17 00:00:00 2001 From: hibobmaster <32976627+hibobmaster@users.noreply.github.com> Date: Thu, 28 Dec 2023 20:56:28 +0800 Subject: [PATCH] fix: set timeout not work in image generation --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 8218535..c89d8a7 100644 --- a/src/bot.py +++ b/src/bot.py @@ -1361,7 +1361,7 @@ class Bot: self.image_generation_endpoint, prompt, self.image_generation_backend, - timeount=self.timeout, + timeout=self.timeout, api_key=self.openai_api_key, output_path=self.base_path / "images", n=1,