Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru authored Feb 18, 2023
1 parent c253564 commit a14c6f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anything_4_controlnet_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"!sed -i -e 's|annotator\\/ckpts\\/upernet_global_small.pth|\\/content\\/ControlNet-with-other-models\\/ControlNet\\/annotator\\/ckpts\\/upernet_global_small.pth|g' /content/ControlNet-with-other-models/ControlNet/annotator/uniformer/__init__.py\n",
"!sed -i -e 's|annotator\\/uniformer\\/exp\\/upernet_global_small\\/config\\.py|\\/content\\/ControlNet-with-other-models\\/ControlNet\\/annotator\\/uniformer\\/exp\\/upernet_global_small\\/config.py|g' /content/ControlNet-with-other-models/ControlNet/annotator/uniformer/__init__.py\n",
"\n",
"!sed -i -e 's|DEFAULT_BASE_MODEL_REPO_PLACEHOLDER|andite/anything-v4.0|g' /content/ControlNet-with-other-models/model.py\n",
"!sed -i -e 's|DEFAULT_BASE_MODEL_REPO_PLACEHOLDER|andite\\/anything-v4.0|g' /content/ControlNet-with-other-models/model.py\n",
"!sed -i -e 's|DEFAULT_BASE_MODEL_FILENAME_PLACEHOLDER|anything-v4.0-pruned.safetensors|g' /content/ControlNet-with-other-models/model.py\n",
"!sed -i -e 's|DEFAULT_BASE_MODEL_URL_PLACEHOLDER|https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0-pruned.safetensors|g' /content/ControlNet-with-other-models/model.py\n",
"!sed -i -e 's|DEFAULT_BASE_MODEL_URL_PLACEHOLDER|https:\\/\\/huggingface.co\\/andite\\/anything-v4.0\\/resolve\\/main\\/anything-v4.0-pruned.safetensors|g' /content/ControlNet-with-other-models/model.py\n",
"\n",
"%cd /content/ControlNet-with-other-models\n",
"!python /content/ControlNet-with-other-models/app.py"
Expand Down

0 comments on commit a14c6f5

Please sign in to comment.