mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
502 stars 131 forks source link

Always Disconnet #349

Open Arjun91221 opened 4 weeks ago

Arjun91221 commented 4 weeks ago

Hi

The Gradio link always disconnect after generating two or three images. Why So?

mrhan1993 commented 3 weeks ago

Gradio?Any infomation?

Sampkao commented 2 weeks ago

I have encountered the same situation. When using functions such as ImagePrompt to send several pictures at a time through the API, the connection will be disconnected. This is especially likely to happen when the network is busy.

By the way, I am sending the API synchronously, and the error message is as follows:

Error: ('Connection aborted.', ConnectionResetError(10054, '遠端主機已強制關閉一個現存的連線。', None, 10054, None))