Spaces:
Running
on
Zero
Running
on
Zero
Merge branch 'main' of https://huggingface.co/spaces/dbaranchuk/Switti into main
Browse files
app.py
CHANGED
@@ -55,23 +55,7 @@ def infer(
|
|
55 |
return image, seed
|
56 |
|
57 |
|
58 |
-
examples = [
|
59 |
-
"Cute winter dragon baby, kawaii, Pixar, ultra detailed, glacial background, extremely realistic.",
|
60 |
-
"Cat as a wizard",
|
61 |
-
("An ancient ruined archway on the moon, fantasy, ruins of an alien civilization, "
|
62 |
-
"concept art, blue sky, reflectionin water pool, large white planet rising behind it"),
|
63 |
-
("A lizard that looks very much like a man, with developed muscles, leather armor "
|
64 |
-
"with metal elements, in the hands of a large trident decorated with ancient runes,"
|
65 |
-
" against the background of a small lake, everything is well drawn in the style of fantasy"),
|
66 |
-
("The Mandalorian by masamune shirow, fighting stance, in the snow, "
|
67 |
-
"cinematic lighting, intricate detail, character design"),
|
68 |
-
"Phoenix woman brown skin asian eyes silver scales, full body, high detail",
|
69 |
-
("Portrait of an alien family from the 1970’s, futuristic clothes, "
|
70 |
-
"absurd alien helmet, straight line, surreal, strange, absurd, photorealistic, "
|
71 |
-
"Hasselblad, Kodak, portra 800, 35mm lens, F 2.8, photo studio."),
|
72 |
-
("32 – bit pixelated future Hiphop producer in glowing power street ware, "
|
73 |
-
"noriyoshi ohrai, in the style of minecraft tomer hanuka."),
|
74 |
-
]
|
75 |
|
76 |
css = """
|
77 |
#col-container {
|
@@ -111,7 +95,7 @@ with gr.Blocks(css=css) as demo:
|
|
111 |
minimum=0.0,
|
112 |
maximum=10.,
|
113 |
step=0.5,
|
114 |
-
value=
|
115 |
)
|
116 |
|
117 |
with gr.Accordion("Advanced Settings", open=False):
|
@@ -162,7 +146,7 @@ with gr.Blocks(css=css) as demo:
|
|
162 |
minimum=0.1,
|
163 |
maximum=10,
|
164 |
step=0.1,
|
165 |
-
value=1,
|
166 |
)
|
167 |
|
168 |
|
|
|
55 |
return image, seed
|
56 |
|
57 |
|
58 |
+
examples = ["Cute winter dragon baby, kawaii, Pixar, ultra detailed, glacial background, extremely realistic."]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
css = """
|
61 |
#col-container {
|
|
|
95 |
minimum=0.0,
|
96 |
maximum=10.,
|
97 |
step=0.5,
|
98 |
+
value=4.,
|
99 |
)
|
100 |
|
101 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
146 |
minimum=0.1,
|
147 |
maximum=10,
|
148 |
step=0.1,
|
149 |
+
value=0.1,
|
150 |
)
|
151 |
|
152 |
|