prithivMLmods commited on
Commit
bee95b7
1 Parent(s): bfe42fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -33,21 +33,22 @@ USE_TORCH_COMPILE = 0
33
  ENABLE_CPU_OFFLOAD = 0
34
 
35
  style_list = [
 
36
 
37
  {
38
- "name": "3840 x 2160",
39
- "prompt": "hyper-realistic 8K image of {prompt} . ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
40
- "negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
41
  },
42
  {
43
- "name": "2560 × 1440",
44
- "prompt": "hyper-realistic 4K image of {prompt} . ultra-detailed, lifelike, high-resolution, sharp, vibrant colors, photorealistic",
45
- "negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
46
  },
47
  {
48
- "name": "HDR",
49
- "prompt": "HDR photo of {prompt} . high dynamic range, vivid colors, sharp contrast, realistic, detailed, high resolution, professional",
50
- "negative_prompt": "dull, low contrast, blurry, unrealistic, cartoonish, ugly, deformed",
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 Style",
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(