mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix launcher shell script to use correct names for ti and merge functions
This commit is contained in:
parent
c79678a643
commit
ca0f3ec0e4
@ -47,11 +47,11 @@ if [ "$0" != "bash" ]; then
|
|||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
echo "Starting Textual Inversion:"
|
echo "Starting Textual Inversion:"
|
||||||
exec textual_inversion --gui $@
|
exec invokeai-ti --gui $@
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
echo "Merging Models:"
|
echo "Merging Models:"
|
||||||
exec merge_models --gui $@
|
exec invokeai-merge --gui $@
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
echo "Developer Console:"
|
echo "Developer Console:"
|
||||||
|
@ -7,6 +7,7 @@ Copyright (c) 2023 Lincoln Stein and the InvokeAI Development Team
|
|||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import traceback
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List, Union
|
from typing import List, Union
|
||||||
@ -372,7 +373,8 @@ def main():
|
|||||||
run_cli(args)
|
run_cli(args)
|
||||||
print(f">> Conversion successful. New model is named {args.merged_model_name}")
|
print(f">> Conversion successful. New model is named {args.merged_model_name}")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"** An error occurred while merging the pipelines: {str(e)}")
|
print(">> An error occurred:")
|
||||||
|
traceback.print_exc()
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user