Merge pull request #34 from alembics/fix-adabins-model-installation

Correction to double-quote escaping in ipynb
pull/35/head
Adam Letts 3 years ago committed by GitHub
commit ee99254267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Disco_Diffusion.ipynb

@ -579,7 +579,7 @@
" gitclone(\"https://github.com/shariqfarooq123/AdaBins.git\")\n", " gitclone(\"https://github.com/shariqfarooq123/AdaBins.git\")\n",
" if not os.path.exists(f'{PROJECT_DIR}/pretrained/AdaBins_nyu.pt'):\n", " if not os.path.exists(f'{PROJECT_DIR}/pretrained/AdaBins_nyu.pt'):\n",
" createPath(f'{PROJECT_DIR}/pretrained')\n", " createPath(f'{PROJECT_DIR}/pretrained')\n",
" wget("https://cloudflare-ipfs.com/ipfs/Qmd2mMnDLWePKmgfS8m6ntAg4nhV5VkUyAydYBp8cWWeB7/AdaBins_nyu.pt", f'{PROJECT_DIR}/pretrained')\n", " wget(\"https://cloudflare-ipfs.com/ipfs/Qmd2mMnDLWePKmgfS8m6ntAg4nhV5VkUyAydYBp8cWWeB7/AdaBins_nyu.pt\", f'{PROJECT_DIR}/pretrained')\n",
" sys.path.append(f'{PROJECT_DIR}/AdaBins')\n", " sys.path.append(f'{PROJECT_DIR}/AdaBins')\n",
" from infer import InferenceHelper\n", " from infer import InferenceHelper\n",
" MAX_ADABINS_AREA = 500000\n", " MAX_ADABINS_AREA = 500000\n",

Loading…
Cancel
Save