Update stable_cascade.py
Browse files- stable_cascade.py +0 -10
stable_cascade.py
CHANGED
|
@@ -37,7 +37,6 @@ def generate_images(
|
|
| 37 |
width=1024,
|
| 38 |
guidance_scale=4.0,
|
| 39 |
seed=42,
|
| 40 |
-
num_images_per_prompt=1,
|
| 41 |
prior_inference_steps=20,
|
| 42 |
decoder_inference_steps=10
|
| 43 |
):
|
|
@@ -117,14 +116,6 @@ def web_demo():
|
|
| 117 |
|
| 118 |
with gr.Row():
|
| 119 |
with gr.Column():
|
| 120 |
-
text2image_num_images_per_prompt = gr.Slider(
|
| 121 |
-
minimum=1,
|
| 122 |
-
maximum=2,
|
| 123 |
-
step=1,
|
| 124 |
-
value=1,
|
| 125 |
-
label="Number Image",
|
| 126 |
-
)
|
| 127 |
-
|
| 128 |
text2image_height = gr.Slider(
|
| 129 |
minimum=128,
|
| 130 |
maximum=1024,
|
|
@@ -178,7 +169,6 @@ def web_demo():
|
|
| 178 |
text2image_width,
|
| 179 |
text2image_guidance_scale,
|
| 180 |
text2image_seed,
|
| 181 |
-
text2image_num_images_per_prompt,
|
| 182 |
text2image_prior_inference_step,
|
| 183 |
text2image_decoder_inference_step
|
| 184 |
],
|
|
|
|
| 37 |
width=1024,
|
| 38 |
guidance_scale=4.0,
|
| 39 |
seed=42,
|
|
|
|
| 40 |
prior_inference_steps=20,
|
| 41 |
decoder_inference_steps=10
|
| 42 |
):
|
|
|
|
| 116 |
|
| 117 |
with gr.Row():
|
| 118 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
text2image_height = gr.Slider(
|
| 120 |
minimum=128,
|
| 121 |
maximum=1024,
|
|
|
|
| 169 |
text2image_width,
|
| 170 |
text2image_guidance_scale,
|
| 171 |
text2image_seed,
|
|
|
|
| 172 |
text2image_prior_inference_step,
|
| 173 |
text2image_decoder_inference_step
|
| 174 |
],
|