imaginAIry/imaginairy/cmd_wrap.py
Bryce 967eb76365 refactor/test: logging suppression + hashed image test
- simpler logging suppression for `transformers` library
- suppress logging noise for running tests
- get test running for all samplers on mps and cuda platforms
- refactor safety model env variable to allow classification
2022-09-14 19:40:50 -07:00

13 lines
319 B
Python

def imagine_cmd(*args, **kwargs):
from .suppress_logs import suppress_annoying_logs_and_warnings # noqa
suppress_annoying_logs_and_warnings()
from imaginairy.cmds import imagine_cmd as imagine_cmd_orig # noqa
imagine_cmd_orig(*args, **kwargs)
if __name__ == "__main__":
imagine_cmd() # noqa