InvokeAI/scripts/probe-model.py
Martin Kristiansen 218b6d0546 Apply black
2023-07-27 10:54:01 -04:00

9 lines
182 B
Python
Executable File

#!/bin/env python
import sys
from pathlib import Path
from invokeai.backend.model_management.model_probe import ModelProbe
info = ModelProbe().probe(Path(sys.argv[1]))
print(info)