diffusers
diffusers copied to clipboard
Fix object has no attribute 'flush' when using without a console
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
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!