Skip to content

Commit

Permalink
Simplify ui further, add CLI option to load a default config
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet committed Jun 6, 2024
1 parent 67b438e commit 5b3b262
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 237 deletions.
4 changes: 2 additions & 2 deletions apps/shark_studio/modules/shared_cmd_opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def is_valid_file(arg):
##############################################################################
# Stable Diffusion Params
##############################################################################

p.add_argument(
"-a",
"--app",
Expand Down Expand Up @@ -595,9 +594,10 @@ def is_valid_file(arg):
# Web UI flags
##############################################################################
p.add_argument(
"--default_config",
"--defaults",
default="sdxl-turbo.json",
type=str,
help="Path to the default API request .json file. Works for CLI and webui."
)

p.add_argument(
Expand Down
Loading

0 comments on commit 5b3b262

Please sign in to comment.