diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Fix object has no attribute 'flush' when using without a console

Open asomoza opened this issue 1 year ago • 1 comments

What does this PR do?

Fix a recurring problem when using diffusers without console, e.g. using pythonw.exe in windows, since there's no sys.stderr.

I can make a more advanced solution like using a FileHandler instead if there's no sys.stderr but don't know if it's worth the effort here. Users should implement their own error handling for this.

Fixes #3290

Who can review?

@sayakpaul @yiyixuxu @DN6

asomoza avatar May 24 '24 16:05 asomoza

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

thanks!

yiyixuxu avatar May 28 '24 21:05 yiyixuxu