bunarivenna commited on
Commit
48e2519
·
verified ·
1 Parent(s): 77dcd9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -7
app.py CHANGED
@@ -12,7 +12,7 @@ import torch
12
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
13
 
14
  DESCRIPTION = """
15
- # DALL•E 3 XL v2
16
  """
17
 
18
  def save_image(img):
@@ -87,12 +87,28 @@ def generate(
87
  return image_paths, seed
88
 
89
  examples = [
90
- "neon holography crystal cat",
91
- "a cat eating a piece of cheese",
92
- "an astronaut riding a horse in space",
93
- "a cartoon of a boy playing with a tiger",
94
- "a cute robot artist painting on an easel, concept art",
95
- "a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  ]
97
 
98
  css = '''
@@ -121,8 +137,10 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
121
  )
122
  run_button = gr.Button("Run", scale=0)
123
  result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
 
124
  with gr.Accordion("Advanced options", open=False):
125
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
 
126
  negative_prompt = gr.Text(
127
  label="Negative prompt",
128
  lines=4,
 
12
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
13
 
14
  DESCRIPTION = """
15
+ # PONIO LOGO DESIGNER
16
  """
17
 
18
  def save_image(img):
 
87
  return image_paths, seed
88
 
89
  examples = [
90
+ "Monogram",
91
+ "Combination",
92
+ "Wordmark",
93
+ "Letterform",
94
+ "Monogram",
95
+ "Abstract",
96
+ "Mascot",
97
+ "Emblem",
98
+ "Dynamic",
99
+ "3D",
100
+ "Animated",
101
+ "neon holography crystal",
102
+ "neon holography",
103
+ "pixel art",
104
+ "artistic",
105
+ "cute",
106
+ "animation",
107
+ "cartoon",
108
+ "Drawing"
109
+ "vector art",
110
+ "modern",
111
+ "watercolor"
112
  ]
113
 
114
  css = '''
 
137
  )
138
  run_button = gr.Button("Run", scale=0)
139
  result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
140
+
141
  with gr.Accordion("Advanced options", open=False):
142
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
143
+
144
  negative_prompt = gr.Text(
145
  label="Negative prompt",
146
  lines=4,