Skip to content

Commit

Permalink
fixed environment setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ddPn08 committed Dec 20, 2022
1 parent 857705b commit da2b51d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions automatic1111.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "goUvyTZ4zd4l",
"cellView": "form"
"cellView": "form",
"id": "goUvyTZ4zd4l"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -231,7 +231,7 @@
"# @markdown  \n",
"# @markdown ## Optional | Ngrok Tunnel\n",
"# @markdown Get token from [here](https://dashboard.ngrok.com/get-started/your-authtoken)\n",
"use_ngrok = False # @param {type: \"boolean\"}\n",
"use_ngrok = True # @param {type: \"boolean\"}\n",
"load_token_from_gdrive = True # @param {type:\"boolean\"}\n",
"ngrok_auth_token = \"\" # @param {type: \"string\"}\n",
"ngrok_region = \"auto\" # @param [\"auto\", \"us\", \"eu\", \"au\", \"ap\", \"sa\", \"jp\", \"in\"]\n",
Expand Down Expand Up @@ -300,8 +300,8 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"cellView": "form",
"id": "Ao2t5h5qG9HD"
"id": "Ao2t5h5qG9HD",
"cellView": "form"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -348,8 +348,8 @@
"\n",
"if os.path.exists(gdrive_env_file) and not os.path.exists(\"/usr/local/envs/automatic\") and not force_reinstall_environmemt:\n",
" os.makedirs(\"/usr/local/envs/automatic\", exist_ok=True)\n",
" ! cd stable-diffusion-webui && conda env update -n automatic -f ./environment-wsl2.yaml\n",
" ! zstd -dc {gdrive_env_file} | tar -xf - -C /usr/local/envs/automatic\n",
" ! cd stable-diffusion-webui && conda env update -n automatic -f ./environment-wsl2.yaml\n",
"else:\n",
" ! cd stable-diffusion-webui && conda env create -f ./environment-wsl2.yaml\n",
"\n",
Expand Down

0 comments on commit da2b51d

Please sign in to comment.