diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

How to remove Logs,

Open zhanghongyong123456 opened this issue 3 years ago • 1 comments

I want to use pyinstaller to package as exe without cmd command line image

zhanghongyong123456 avatar Feb 17 '23 08:02 zhanghongyong123456

Thanks for reporting.

@patrickvonplaten @williamberman WDYT? Seems like https://github.com/huggingface/transformers/issues/21506#issuecomment-1430722571 proposes a fix.

sayakpaul avatar Feb 20 '23 08:02 sayakpaul

Hmm, maybe can we just disable the logger for diffusers globally? Shouldn't this work? See docs here: https://huggingface.co/docs/diffusers/api/logging

patrickvonplaten avatar Mar 06 '23 10:03 patrickvonplaten

Hi @zhanghongyong123456. Were you able to disable logging with https://github.com/huggingface/diffusers/issues/2394#issuecomment-1455906251 ? If so, do you mind closing the issue? If not, please let us know.

sayakpaul avatar Mar 13 '23 06:03 sayakpaul

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Apr 06 '23 15:04 github-actions[bot]