Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from lambda_diffusers import StableDiffusionImageEmbedPipeline
|
|
7 |
def main(
|
8 |
input_im,
|
9 |
scale=3.0,
|
10 |
-
n_samples=
|
11 |
steps=25,
|
12 |
seed=0,
|
13 |
):
|
@@ -40,7 +40,7 @@ pipe = pipe.to(device)
|
|
40 |
inputs = [
|
41 |
gr.Image(),
|
42 |
gr.Slider(0, 25, value=3, step=1, label="Guidance scale"),
|
43 |
-
gr.Slider(1,
|
44 |
gr.Slider(5, 50, value=25, step=5, label="Steps"),
|
45 |
gr.Number(0, labal="Seed", precision=0)
|
46 |
]
|
|
|
7 |
def main(
|
8 |
input_im,
|
9 |
scale=3.0,
|
10 |
+
n_samples=2,
|
11 |
steps=25,
|
12 |
seed=0,
|
13 |
):
|
|
|
40 |
inputs = [
|
41 |
gr.Image(),
|
42 |
gr.Slider(0, 25, value=3, step=1, label="Guidance scale"),
|
43 |
+
gr.Slider(1, 2, value=1, step=1, label="Number images"),
|
44 |
gr.Slider(5, 50, value=25, step=5, label="Steps"),
|
45 |
gr.Number(0, labal="Seed", precision=0)
|
46 |
]
|