Spaces:
Running
Running
prithivMLmods
commited on
Commit
•
bee95b7
1
Parent(s):
bfe42fe
Update app.py
Browse files
app.py
CHANGED
@@ -33,21 +33,22 @@ USE_TORCH_COMPILE = 0
|
|
33 |
ENABLE_CPU_OFFLOAD = 0
|
34 |
|
35 |
style_list = [
|
|
|
36 |
|
37 |
{
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
},
|
42 |
{
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
},
|
47 |
{
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
},
|
52 |
{
|
53 |
"name": "Cinematic",
|
@@ -85,6 +86,7 @@ style_list = [
|
|
85 |
"prompt": "{prompt}",
|
86 |
"negative_prompt": "",
|
87 |
},
|
|
|
88 |
]
|
89 |
|
90 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
@@ -246,7 +248,7 @@ with gr.Blocks(css=css, theme="xiaobaiyuan/theme_brief") as demo:
|
|
246 |
interactive=True,
|
247 |
choices=STYLE_NAMES,
|
248 |
value=DEFAULT_STYLE_NAME,
|
249 |
-
label="Image
|
250 |
)
|
251 |
|
252 |
gr.Examples(
|
|
|
33 |
ENABLE_CPU_OFFLOAD = 0
|
34 |
|
35 |
style_list = [
|
36 |
+
|
37 |
|
38 |
{
|
39 |
+
"name": "3840 x 2160",
|
40 |
+
"prompt": "hyper-realistic 8K image of {prompt} . ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
|
41 |
+
"negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
|
42 |
},
|
43 |
{
|
44 |
+
"name": "2560 × 1440",
|
45 |
+
"prompt": "hyper-realistic 4K image of {prompt} . ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
|
46 |
+
"negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
|
47 |
},
|
48 |
{
|
49 |
+
"name": "HDR",
|
50 |
+
"prompt": "HDR photo of {prompt} . high dynamic range, vivid colors, sharp contrast, realistic, detailed, high resolution, professional",
|
51 |
+
"negative_prompt": "dull, low contrast, blurry, unrealistic, cartoonish, ugly, deformed",
|
52 |
},
|
53 |
{
|
54 |
"name": "Cinematic",
|
|
|
86 |
"prompt": "{prompt}",
|
87 |
"negative_prompt": "",
|
88 |
},
|
89 |
+
|
90 |
]
|
91 |
|
92 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
|
|
248 |
interactive=True,
|
249 |
choices=STYLE_NAMES,
|
250 |
value=DEFAULT_STYLE_NAME,
|
251 |
+
label="Image Styling",
|
252 |
)
|
253 |
|
254 |
gr.Examples(
|