patrickblanks
commited on
Commit
•
60e605a
1
Parent(s):
874ace4
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ MAX_IMAGE_SIZE = 1024
|
|
28 |
@spaces.GPU #[uncomment to use ZeroGPU]
|
29 |
def infer(
|
30 |
prompt,
|
31 |
-
seed=
|
32 |
-
randomize_seed=
|
33 |
width=1024,
|
34 |
height=1024,
|
35 |
guidance_scale=3.5,
|
@@ -54,7 +54,7 @@ def infer(
|
|
54 |
|
55 |
|
56 |
examples = [
|
57 |
-
"
|
58 |
"An astronaut riding a green horse",
|
59 |
"A delicious ceviche cheesecake slice",
|
60 |
]
|
@@ -83,7 +83,7 @@ with gr.Blocks(css=css) as demo:
|
|
83 |
|
84 |
result = gr.Image(label="Result", show_label=False)
|
85 |
|
86 |
-
with gr.Accordion("Advanced Settings", open=
|
87 |
seed = gr.Slider(
|
88 |
label="Seed",
|
89 |
minimum=0,
|
|
|
28 |
@spaces.GPU #[uncomment to use ZeroGPU]
|
29 |
def infer(
|
30 |
prompt,
|
31 |
+
seed=2110073662,
|
32 |
+
randomize_seed=False,
|
33 |
width=1024,
|
34 |
height=1024,
|
35 |
guidance_scale=3.5,
|
|
|
54 |
|
55 |
|
56 |
examples = [
|
57 |
+
"plugilo prompt:minimalist icon illustration in solid azure blue (#0099FF), ultra clean lines, flat 2D geometric shapes, negative space design, perfect symmetry, vector art style, corporate tech icon, pure white background, perfect smooth edges --no texture --no gradient --no shadows --no depth --stylize 750 --v 6 --ar 1:1",
|
58 |
"An astronaut riding a green horse",
|
59 |
"A delicious ceviche cheesecake slice",
|
60 |
]
|
|
|
83 |
|
84 |
result = gr.Image(label="Result", show_label=False)
|
85 |
|
86 |
+
with gr.Accordion("Advanced Settings", open=True):
|
87 |
seed = gr.Slider(
|
88 |
label="Seed",
|
89 |
minimum=0,
|