mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
98fe044dee
- rename dream.py to invoke.py - create a compatibility script named dream.py that execs() invoke.py - redo documentation - change help message in args - this does **not** rename the libraries, which are still ldm.dream.util, etc
13 lines
330 B
Python
13 lines
330 B
Python
#!/usr/bin/env python3
|
|
# Copyright (c) 2022 Lincoln D. Stein (https://github.com/lstein)
|
|
|
|
import sys
|
|
import os.path
|
|
|
|
script_path = sys.argv[0]
|
|
script_args = sys.argv[1:]
|
|
script_dir,script_name = os.path.split(script_path)
|
|
script_dest = os.path.join(script_dir,'invoke.py')
|
|
os.execlp('python3','python3',script_dest,*script_args)
|
|
|