Fabrice-TIERCELIN
commited on
Commit
•
0235723
1
Parent(s):
21b7569
fp32
Browse files
app.py
CHANGED
@@ -492,10 +492,10 @@ with gr.Blocks() as interface:
|
|
492 |
'Grading, ultra HD, extreme meticulous detailing, skin pore detailing, '
|
493 |
'hyper sharpness, perfect without deformations.',
|
494 |
lines=3)
|
495 |
-
n_prompt = gr.Textbox(label="
|
496 |
info="Disambiguate by listing what the image does NOT represent",
|
497 |
value='painting, oil painting, illustration, drawing, art, sketch, anime, '
|
498 |
-
'cartoon, CG Style, 3D render, unreal engine, blurring, bokeh, ugly, dirty, messy, '
|
499 |
'worst quality, low quality, frames, watermark, signature, jpeg artifacts, '
|
500 |
'deformed, lowres, over-smooth',
|
501 |
lines=3)
|
@@ -527,13 +527,13 @@ with gr.Blocks() as interface:
|
|
527 |
spt_linear_s_stage2 = gr.Slider(label="Guidance Start", minimum=0.,
|
528 |
maximum=1., value=0., step=0.05)
|
529 |
with gr.Column():
|
530 |
-
diff_dtype = gr.Radio([
|
531 |
interactive=True)
|
532 |
with gr.Column():
|
533 |
-
ae_dtype = gr.Radio([
|
534 |
interactive=True)
|
535 |
randomize_seed = gr.Checkbox(label = "\U0001F3B2 Randomize seed", value = True, info = "If checked, result is always different")
|
536 |
-
seed = gr.Slider(label="Seed", minimum=0, maximum=
|
537 |
with gr.Group():
|
538 |
param_setting = gr.Radio(["Quality", "Fidelity"], interactive=True, label="Presetting", value="Quality")
|
539 |
restart_button = gr.Button(value="Apply presetting")
|
@@ -591,7 +591,7 @@ with gr.Blocks() as interface:
|
|
591 |
None,
|
592 |
"Group of people, walking, happy, in the street, photorealistic, 8k, extremely detailled",
|
593 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
594 |
-
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
595 |
2,
|
596 |
1024,
|
597 |
1,
|
@@ -622,7 +622,7 @@ with gr.Blocks() as interface:
|
|
622 |
None,
|
623 |
"La cabeza de un gato atigrado, en una casa, fotorrealista, 8k, extremadamente detallada",
|
624 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
625 |
-
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
626 |
1,
|
627 |
1024,
|
628 |
1,
|
@@ -653,7 +653,7 @@ with gr.Blocks() as interface:
|
|
653 |
None,
|
654 |
"A red apple",
|
655 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
656 |
-
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
657 |
1,
|
658 |
1024,
|
659 |
1,
|
@@ -684,7 +684,7 @@ with gr.Blocks() as interface:
|
|
684 |
None,
|
685 |
"A red marble",
|
686 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
687 |
-
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
688 |
1,
|
689 |
1024,
|
690 |
1,
|
|
|
492 |
'Grading, ultra HD, extreme meticulous detailing, skin pore detailing, '
|
493 |
'hyper sharpness, perfect without deformations.',
|
494 |
lines=3)
|
495 |
+
n_prompt = gr.Textbox(label="Negative image description",
|
496 |
info="Disambiguate by listing what the image does NOT represent",
|
497 |
value='painting, oil painting, illustration, drawing, art, sketch, anime, '
|
498 |
+
'cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, bokeh, ugly, dirty, messy, '
|
499 |
'worst quality, low quality, frames, watermark, signature, jpeg artifacts, '
|
500 |
'deformed, lowres, over-smooth',
|
501 |
lines=3)
|
|
|
527 |
spt_linear_s_stage2 = gr.Slider(label="Guidance Start", minimum=0.,
|
528 |
maximum=1., value=0., step=0.05)
|
529 |
with gr.Column():
|
530 |
+
diff_dtype = gr.Radio([["fp32 (precision)", "fp32"], ["fp16 (medium)", "fp16"], ["bf16 (speed)", "bf16"]], label="Diffusion Data Type", value="fp16",
|
531 |
interactive=True)
|
532 |
with gr.Column():
|
533 |
+
ae_dtype = gr.Radio([["fp32 (precision)", "fp32"], ["bf16 (speed)", "bf16"]], label="Auto-Encoder Data Type", value="fp32",
|
534 |
interactive=True)
|
535 |
randomize_seed = gr.Checkbox(label = "\U0001F3B2 Randomize seed", value = True, info = "If checked, result is always different")
|
536 |
+
seed = gr.Slider(label="Seed", minimum=0, maximum=2**63 - 1, step=1, randomize=True)
|
537 |
with gr.Group():
|
538 |
param_setting = gr.Radio(["Quality", "Fidelity"], interactive=True, label="Presetting", value="Quality")
|
539 |
restart_button = gr.Button(value="Apply presetting")
|
|
|
591 |
None,
|
592 |
"Group of people, walking, happy, in the street, photorealistic, 8k, extremely detailled",
|
593 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
594 |
+
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
595 |
2,
|
596 |
1024,
|
597 |
1,
|
|
|
622 |
None,
|
623 |
"La cabeza de un gato atigrado, en una casa, fotorrealista, 8k, extremadamente detallada",
|
624 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
625 |
+
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
626 |
1,
|
627 |
1024,
|
628 |
1,
|
|
|
653 |
None,
|
654 |
"A red apple",
|
655 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
656 |
+
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
657 |
1,
|
658 |
1024,
|
659 |
1,
|
|
|
684 |
None,
|
685 |
"A red marble",
|
686 |
"Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
|
687 |
+
"painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, bokeh, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
|
688 |
1,
|
689 |
1024,
|
690 |
1,
|