Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def predict(prompt, ip_adapter_image, ip_adapter_scale=0.5, negative_prompt="",
|
|
43 |
|
44 |
examples = [
|
45 |
["high quality", "example1.png", 1.0, "", 1000, False, False, 1152, 896],
|
46 |
-
["capybara", "example2.png", 0.7, "", 1000, False, False, 1152, 896]
|
47 |
]
|
48 |
|
49 |
css="""
|
@@ -115,7 +115,7 @@ with gr.Blocks(css=css) as demo:
|
|
115 |
minimum=0,
|
116 |
maximum=MAX_SEED,
|
117 |
step=1,
|
118 |
-
value=
|
119 |
)
|
120 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
121 |
center_crop = gr.Checkbox(label="Center Crop image", value=False, info="If not checked, the IP-Adapter image input would be resized to a square.")
|
|
|
43 |
|
44 |
examples = [
|
45 |
["high quality", "example1.png", 1.0, "", 1000, False, False, 1152, 896],
|
46 |
+
["capybara", "example2.png", 0.7, "", 1000, False, False, 1152, 896],
|
47 |
]
|
48 |
|
49 |
css="""
|
|
|
115 |
minimum=0,
|
116 |
maximum=MAX_SEED,
|
117 |
step=1,
|
118 |
+
value=1000,
|
119 |
)
|
120 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
121 |
center_crop = gr.Checkbox(label="Center Crop image", value=False, info="If not checked, the IP-Adapter image input would be resized to a square.")
|