fix: set timeout not work in image generation

This commit is contained in:
hibobmaster 2023-12-28 20:56:28 +08:00
parent 553a2a59f6
commit 975ff16998
No known key found for this signature in database

View File

@ -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,