InvokeAI/scripts/invoke.py
2023-01-02 02:39:43 +00:00

11 lines
171 B
Python
Executable File

#!/usr/bin/env python
import sys
import os
if sys.platform == 'darwin':
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
import ldm.invoke.CLI
ldm.invoke.CLI.main()