mirror of
https://github.com/hibobmaster/matrix_chatgpt_bot.git
synced 2024-10-01 05:35:36 -04:00
fix: set timeout not work in image generation
This commit is contained in:
parent
553a2a59f6
commit
975ff16998
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user