mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
12 lines
197 B
Python
Executable File
12 lines
197 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)
|
|
|
|
|
|
|