Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -33,11 +33,7 @@ def check_text(prompt, negative=""):
|
|
33 |
|
34 |
|
35 |
style_list = [
|
36 |
-
|
37 |
-
"name": "3840 x 2160",
|
38 |
-
"prompt": "hyper-realistic 8K image of {prompt}. ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
|
39 |
-
"negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
|
40 |
-
},
|
41 |
{
|
42 |
"name": "2560 x 1440",
|
43 |
"prompt": "hyper-realistic 4K image of {prompt}. ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
|
@@ -75,7 +71,7 @@ style_list = [
|
|
75 |
|
76 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
77 |
STYLE_NAMES = list(styles.keys())
|
78 |
-
DEFAULT_STYLE_NAME = "
|
79 |
|
80 |
def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str, str]:
|
81 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
@@ -179,7 +175,7 @@ def generate(
|
|
179 |
return image_paths, seed
|
180 |
|
181 |
examples = [
|
182 |
-
"
|
183 |
"Silhouette of Hamburger standing in front of a, dark blue sky, a little saturated orange in the background sunset, night time, dark background, dark black hair, cinematic photography, cinematic lighting, dark theme, shattered camera lens, digital photography, 70mm, f2.8, lens aberration, grain, boke, double exposure, shaterred, color negative ",
|
184 |
"A photograph of the front view portrait of an Cat in a full body dynamic pose on a red background in the style of high fashion moment, with rich colors, dramatic light, in a fantasy art style, with surrealism, elegant details, a golden ratio composition, and detailed texture",
|
185 |
"Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw"
|
|
|
33 |
|
34 |
|
35 |
style_list = [
|
36 |
+
|
|
|
|
|
|
|
|
|
37 |
{
|
38 |
"name": "2560 x 1440",
|
39 |
"prompt": "hyper-realistic 4K image of {prompt}. ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
|
|
|
71 |
|
72 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
73 |
STYLE_NAMES = list(styles.keys())
|
74 |
+
DEFAULT_STYLE_NAME = "2560 x 1440"
|
75 |
|
76 |
def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str, str]:
|
77 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
|
|
175 |
return image_paths, seed
|
176 |
|
177 |
examples = [
|
178 |
+
"Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw",
|
179 |
"Silhouette of Hamburger standing in front of a, dark blue sky, a little saturated orange in the background sunset, night time, dark background, dark black hair, cinematic photography, cinematic lighting, dark theme, shattered camera lens, digital photography, 70mm, f2.8, lens aberration, grain, boke, double exposure, shaterred, color negative ",
|
180 |
"A photograph of the front view portrait of an Cat in a full body dynamic pose on a red background in the style of high fashion moment, with rich colors, dramatic light, in a fantasy art style, with surrealism, elegant details, a golden ratio composition, and detailed texture",
|
181 |
"Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw"
|