diff --git a/cog.yaml b/cog.yaml index 1a338c1..bb0b8c5 100644 --- a/cog.yaml +++ b/cog.yaml @@ -5,6 +5,7 @@ build: - "libglib2.0-0" python_version: "3.10.4" python_packages: + - "jsonmerge==1.9.2" - "torch==2.0.1" - "torchvision==0.15.2" - "xformers==0.0.22" @@ -21,6 +22,5 @@ build: - git config --global --add safe.directory /src/extensions/sd-webui-controlnet - git config --global --add safe.directory /src/extensions/multidiffusion-upscaler-for-automatic1111 - git clone https://github.com/philz1337x/stable-diffusion-webui-cog-init /stable-diffusion-webui - - pip install --upgrade setuptools - python /stable-diffusion-webui/init_env.py --skip-torch-cuda-test predict: "predict.py:Predictor" diff --git a/requirements.txt b/requirements.txt index aa1f929..956fef2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ fastapi>=0.90.1 gfpgan gradio==3.41.2 inflection -jsonmerge +jsonmerge==1.9.2 kornia lark numpy diff --git a/requirements_versions.txt b/requirements_versions.txt index 73a6421..8c23181 100644 --- a/requirements_versions.txt +++ b/requirements_versions.txt @@ -10,7 +10,7 @@ gfpgan==1.3.8 gradio==3.41.2 httpcore==0.15 inflection==0.5.1 -jsonmerge +jsonmerge==1.9.2 kornia==0.6.7 lark==1.1.2 numpy==1.23.5