update loader
This commit is contained in:
@@ -49,6 +49,11 @@ list_comfy_models() {
|
||||
}
|
||||
|
||||
|
||||
queue_comfy_models() {
|
||||
model_worker_exec queue "$@"
|
||||
}
|
||||
|
||||
|
||||
add_comfy_model() {
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: gpuctl comfy models add <URL> <type>" >&2
|
||||
@@ -83,6 +88,17 @@ comfy_models_command() {
|
||||
list_comfy_models "$@"
|
||||
;;
|
||||
|
||||
queue)
|
||||
shift
|
||||
|
||||
if [ "$#" -ne 0 ]; then
|
||||
echo "Usage: gpuctl comfy models queue" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
queue_comfy_models
|
||||
;;
|
||||
|
||||
add)
|
||||
shift
|
||||
add_comfy_model "$@"
|
||||
@@ -96,6 +112,7 @@ comfy_models_command() {
|
||||
*)
|
||||
echo "Usage:"
|
||||
echo " gpuctl comfy models list [type]"
|
||||
echo " gpuctl comfy models queue"
|
||||
echo " gpuctl comfy models add <URL> <type>"
|
||||
echo " gpuctl comfy models rm <filename> [type]"
|
||||
return 1
|
||||
@@ -115,6 +132,7 @@ comfy_command() {
|
||||
*)
|
||||
echo "Usage:"
|
||||
echo " gpuctl comfy models list [type]"
|
||||
echo " gpuctl comfy models queue"
|
||||
echo " gpuctl comfy models add <URL> <type>"
|
||||
echo " gpuctl comfy models rm <filename> [type]"
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user