Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddPn08 committed Mar 14, 2023
1 parent f5e0432 commit 14d722c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions automatic1111.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"cellView": "form",
"id": "goUvyTZ4zd4l"
},
"outputs": [],
Expand Down Expand Up @@ -274,8 +273,6 @@
"\n",
"advanced_options = {k for (k, v) in run_string_with_variables.items() if v == \"True\"}\n",
"\n",
"vars += f\" --styles-file {data_dir}/config/styles.csv\"\n",
"\n",
"# @markdown <br>\n",
"\n",
"# @markdown ## Enable password authentication (Prevent other users from using the WebUI)\n",
Expand Down Expand Up @@ -353,6 +350,8 @@
"if use_gradio_auth:\n",
" vars += f\" --gradio-auth {gradio_auth_username}:{gradio_auth_password}\"\n",
"\n",
"vars += f\" --styles-file {data_dir}/config/styles.csv\"\n",
"\n",
"os.environ[\"COMMANDLINE_ARGS\"] = f\"{vars} {custom_arguments}\""
]
},
Expand Down

0 comments on commit 14d722c

Please sign in to comment.