Skip to content

Commit 288dcf9

Browse files
committed
Merge branch 'dev' of github.com:gadicc/banana-sd-base into dev
2 parents 085d06f + 572ca78 commit 288dcf9

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ENV HF_AUTH_TOKEN=${HF_AUTH_TOKEN}
9393
# 3) Your own unique model id if using CHECKPOINT_URL below.
9494
# 4) "ALL" to download all known models (useful for dev)
9595
# "runwayml/stable-diffusion-v1-5", "runwayml/stable-diffusion-inpainting"
96-
# "CompVis/stable-diffusion-v1-4", "hakurei/waifu-diffusion", etc.
96+
# "CompVis/stable-diffusion-v1-4", "hakurei/waifu-diffusion","stabilityai/stable-diffusion-2",stabilityai/stable-diffusion-2-inpainting etc.
9797
ARG MODEL_ID="runwayml/stable-diffusion-v1-5"
9898
ENV MODEL_ID=${MODEL_ID}
9999

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ assumptions. If anything is unclear, please open an issue.
2727
* [notable **`dev`** branch updates](https://banana-forums.dev/t/development-releases-dev-branch/53)
2828
* Always [check the CHANGELOG](./CHANGELOG.md) for important updates when upgrading.
2929

30+
**Official help in our dedicated forum https://banana-forums.dev/c/open-source/docker-diffusers-api/16.**
31+
3032
## Usage:
3133

3234
Firstly, fork and clone this repo.
@@ -93,7 +95,7 @@ The container expects an `HTTP POST` request with the following JSON body:
9395
If you're using banana's SDK, it looks something like this:
9496

9597
```js
96-
const out = await banana.run(apiKey, modelKey, { modelInputs, callInputs });
98+
const out = await banana.run(apiKey, modelKey, { "modelInputs": modelInputs, "callInputs": callInputs });
9799
```
98100

99101
NB: if you're coming from another banana starter repo, note that we

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ else
2121
echo "Building without flash attention"
2222
git clone https://github.com/huggingface/diffusers
2323
cd diffusers
24-
# git checkout v0.7.0
24+
git checkout v0.9.0
2525
# 2022-11-21 [Community Pipelines] K-Diffusion Pipeline
26-
#git checkout 182eb959e5efc8c77fa31394ca55376331c0ed25
26+
# git checkout 182eb959e5efc8c77fa31394ca55376331c0ed25
2727
# 2022-11-24 v_prediction (for SD 2.0)
28-
git checkout 30f6f4410487b6c1cf5be2da6c7e8fc844fb9a44
28+
# git checkout 30f6f4410487b6c1cf5be2da6c7e8fc844fb9a44
2929
cd ..
3030
pip install -e diffusers
3131

loadModel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# "hakurei/waifu-diffusion-v1-3", - not as diffusers yet
1515
"runwayml/stable-diffusion-inpainting",
1616
"runwayml/stable-diffusion-v1-5",
17+
"stabilityai/stable-diffusion-2-inpainting",
18+
"stabilityai/stable-diffusion-2"
1719
]
1820

1921

0 commit comments

Comments
 (0)