Songwei Ge commited on
Commit
ae61c93
1 Parent(s): 69e92de

fix examples

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -149,7 +149,7 @@ def main():
149
  with gr.Row():
150
  examples = [
151
  [
152
- '{"ops":[{"insert":"a Gothic "},{"attributes":{"color":"#b26b00"},"insert":"church"},{"insert":" in a the sunset with a beautiful landscape in the background."}]}',
153
  '',
154
  512,
155
  512,
@@ -157,23 +157,15 @@ def main():
157
  1,
158
  ],
159
  [
160
- '{"ops": [{"insert": "A pizza with "}, {"attributes": {"size": "50px"}, "insert": "pineapples"}, {"insert": ", pepperonis, and mushrooms on the top, 4k, photorealistic"}]}',
161
- 'blurry, art, painting, rendering, drawing, sketch, ugly, duplicate, morbid, mutilated, mutated, deformed, disfigured low quality, worst quality',
162
- 768,
163
- 896,
164
- 6,
165
- 1,
166
- ],
167
- [
168
- '{"ops":[{"insert":"a "},{"attributes":{"font":"mirza"},"insert":"beautiful garden"},{"insert":" with a "},{"attributes":{"font":"roboto"},"insert":"snow mountain in the background"},{"insert":""}]}',
169
  '',
170
  512,
171
  512,
172
- 3,
173
  1,
174
  ],
175
  [
176
- '{"ops":[{"insert":"A close-up 4k dslr photo of a "},{"attributes":{"link":"A cat wearing sunglasses and a bandana around its neck."},"insert":"cat"},{"insert":" riding a scooter. Palm trees in the background."}]}',
177
  '',
178
  512,
179
  512,
@@ -181,19 +173,27 @@ def main():
181
  1,
182
  ],
183
  [
184
- {"ops":[{"insert":"a "},{"attributes":{"font":"slabo"},"insert":"night sky filled with stars"},{"insert":" above a "},{"attributes":{"font":"roboto"},"insert":"turbulent sea with giant waves"},{"insert":"\n"}]},
 
 
 
 
 
 
 
 
185
  '',
186
  512,
187
  512,
188
- 6,
189
  1,
190
  ],
191
  [
192
- {"ops":[{"attributes":{"link":"the awe-inspiring sky and ocean in the style of J.M.W. Turner"},"insert":"the awe-inspiring sky and sea"},{"insert":" by "},{"attributes":{"font":"mirza"},"insert":"a coast with flowers and grasses in spring"},{"insert":"\n"}]},
193
  '',
194
  512,
195
  512,
196
- 9,
197
  1,
198
  ],
199
  ]
 
149
  with gr.Row():
150
  examples = [
151
  [
152
+ '{"ops":[{"insert":"a "},{"attributes":{"font":"slabo"},"insert":"night sky filled with stars"},{"insert":" above a "},{"attributes":{"font":"roboto"},"insert":"turbulent sea with giant waves"},{"insert":"\n"}]}',
153
  '',
154
  512,
155
  512,
 
157
  1,
158
  ],
159
  [
160
+ '{"ops":[{"attributes":{"link":"the awe-inspiring sky and ocean in the style of J.M.W. Turner"},"insert":"the awe-inspiring sky and sea"},{"insert":" by "},{"attributes":{"font":"mirza"},"insert":"a coast with flowers and grasses in spring"},{"insert":"\n"}]}',
 
 
 
 
 
 
 
 
161
  '',
162
  512,
163
  512,
164
+ 9,
165
  1,
166
  ],
167
  [
168
+ '{"ops":[{"insert":"a Gothic "},{"attributes":{"color":"#b26b00"},"insert":"church"},{"insert":" in a the sunset with a beautiful landscape in the background."}]}',
169
  '',
170
  512,
171
  512,
 
173
  1,
174
  ],
175
  [
176
+ '{"ops": [{"insert": "A pizza with "}, {"attributes": {"size": "50px"}, "insert": "pineapples"}, {"insert": ", pepperonis, and mushrooms on the top, 4k, photorealistic"}]}',
177
+ 'blurry, art, painting, rendering, drawing, sketch, ugly, duplicate, morbid, mutilated, mutated, deformed, disfigured low quality, worst quality',
178
+ 768,
179
+ 896,
180
+ 6,
181
+ 1,
182
+ ],
183
+ [
184
+ '{"ops":[{"insert":"a "},{"attributes":{"font":"mirza"},"insert":"beautiful garden"},{"insert":" with a "},{"attributes":{"font":"roboto"},"insert":"snow mountain in the background"},{"insert":""}]}',
185
  '',
186
  512,
187
  512,
188
+ 3,
189
  1,
190
  ],
191
  [
192
+ '{"ops":[{"insert":"A close-up 4k dslr photo of a "},{"attributes":{"link":"A cat wearing sunglasses and a bandana around its neck."},"insert":"cat"},{"insert":" riding a scooter. Palm trees in the background."}]}',
193
  '',
194
  512,
195
  512,
196
+ 6,
197
  1,
198
  ],
199
  ]