remove color
Browse files
app.py
CHANGED
@@ -319,75 +319,75 @@ def main():
|
|
319 |
fn=generate,
|
320 |
cache_examples=True,
|
321 |
examples_per_page=20)
|
322 |
-
with gr.Row():
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
|
392 |
with gr.Row():
|
393 |
style_examples = [
|
|
|
319 |
fn=generate,
|
320 |
cache_examples=True,
|
321 |
examples_per_page=20)
|
322 |
+
# with gr.Row():
|
323 |
+
# color_examples = [
|
324 |
+
# [
|
325 |
+
# '{"ops":[{"insert":"a beautifule girl with big eye, skin, and long "},{"attributes":{"color":"#04a704"},"insert":"hair"},{"insert":", t-shirt, bursting with vivid color, intricate, elegant, highly detailed, photorealistic, digital painting, artstation, illustration, concept art."}]}',
|
326 |
+
# 'lowres, had anatomy, bad hands, cropped, worst quality',
|
327 |
+
# 11,
|
328 |
+
# 0.5,
|
329 |
+
# 0.3,
|
330 |
+
# 0.3,
|
331 |
+
# 6,
|
332 |
+
# 0.5,
|
333 |
+
# None,
|
334 |
+
# ],
|
335 |
+
# [
|
336 |
+
# '{"ops":[{"insert":"a beautifule girl with big eye, skin, and long "},{"attributes":{"color":"#ff5df1"},"insert":"hair"},{"insert":", t-shirt, bursting with vivid color, intricate, elegant, highly detailed, photorealistic, digital painting, artstation, illustration, concept art."}]}',
|
337 |
+
# 'lowres, had anatomy, bad hands, cropped, worst quality',
|
338 |
+
# 11,
|
339 |
+
# 0.5,
|
340 |
+
# 0.3,
|
341 |
+
# 0.3,
|
342 |
+
# 6,
|
343 |
+
# 0.5,
|
344 |
+
# None,
|
345 |
+
# ],
|
346 |
+
# [
|
347 |
+
# '{"ops":[{"insert":"a beautifule girl with big eye, skin, and long "},{"attributes":{"color":"#999999"},"insert":"hair"},{"insert":", t-shirt, bursting with vivid color, intricate, elegant, highly detailed, photorealistic, digital painting, artstation, illustration, concept art."}]}',
|
348 |
+
# 'lowres, had anatomy, bad hands, cropped, worst quality',
|
349 |
+
# 11,
|
350 |
+
# 0.5,
|
351 |
+
# 0.3,
|
352 |
+
# 0.3,
|
353 |
+
# 6,
|
354 |
+
# 0.5,
|
355 |
+
# None,
|
356 |
+
# ],
|
357 |
+
# [
|
358 |
+
# '{"ops":[{"insert":"a Gothic "},{"attributes":{"color":"#FD6C9E"},"insert":"church"},{"insert":" in a the sunset with a beautiful landscape in the background."}]}',
|
359 |
+
# '',
|
360 |
+
# 10,
|
361 |
+
# 0.5,
|
362 |
+
# 0.5,
|
363 |
+
# 0.3,
|
364 |
+
# 7,
|
365 |
+
# 0.5,
|
366 |
+
# None,
|
367 |
+
# ],
|
368 |
+
# ]
|
369 |
+
# gr.Examples(examples=color_examples,
|
370 |
+
# label='Font color examples',
|
371 |
+
# inputs=[
|
372 |
+
# text_input,
|
373 |
+
# negative_prompt,
|
374 |
+
# num_segments,
|
375 |
+
# segment_threshold,
|
376 |
+
# inject_interval,
|
377 |
+
# inject_background,
|
378 |
+
# seed,
|
379 |
+
# color_guidance_weight,
|
380 |
+
# rich_text_input,
|
381 |
+
# ],
|
382 |
+
# outputs=[
|
383 |
+
# plaintext_result,
|
384 |
+
# richtext_result,
|
385 |
+
# segments,
|
386 |
+
# token_map,
|
387 |
+
# ],
|
388 |
+
# fn=generate,
|
389 |
+
# cache_examples=True,
|
390 |
+
# examples_per_page=20)
|
391 |
|
392 |
with gr.Row():
|
393 |
style_examples = [
|