Skip to content

Commit 23f89e7

Browse files
authored
fix: add test input file and update Dockerfile
1 parent ca8d88f commit 23f89e7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ COPY requirements.txt .
4848
RUN --mount=type=cache,target=/root/.cache/pip \
4949
pip install --no-cache-dir -r requirements.txt
5050

51+
# Copy test input file
52+
COPY test_input.json .
53+
5154
ADD src .
5255

5356
COPY builder/cache.py /stable-diffusion-webui/cache.py

test_input.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"prompt": "a photo of an astronaut riding a horse on mars",
3+
"negative_prompt": "blurry, bad quality",
4+
"width": 512,
5+
"height": 512,
6+
"num_inference_steps": 20,
7+
"guidance_scale": 7.5,
8+
"seed": 42
9+
}

0 commit comments

Comments
 (0)