Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def generate_image(
|
|
60 |
prompt=text,
|
61 |
height=height,
|
62 |
width=width,
|
63 |
-
guidance_scale=
|
64 |
output_type="pil",
|
65 |
num_inference_steps=steps,
|
66 |
max_sequence_length=512,
|
@@ -128,7 +128,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
128 |
value=50,
|
129 |
)
|
130 |
seed = gr.Slider(
|
131 |
-
label="Seed
|
132 |
minimum=-1,
|
133 |
maximum=MAX_SEED,
|
134 |
step=1,
|
|
|
60 |
prompt=text,
|
61 |
height=height,
|
62 |
width=width,
|
63 |
+
guidance_scale=scales,
|
64 |
output_type="pil",
|
65 |
num_inference_steps=steps,
|
66 |
max_sequence_length=512,
|
|
|
128 |
value=50,
|
129 |
)
|
130 |
seed = gr.Slider(
|
131 |
+
label="Seed(-1 Random)",
|
132 |
minimum=-1,
|
133 |
maximum=MAX_SEED,
|
134 |
step=1,
|