Fabrice-TIERCELIN commited on
Commit
4ff8938
·
verified ·
1 Parent(s): 59e444c
Files changed (1) hide show
  1. app.py +9 -71
app.py CHANGED
@@ -637,7 +637,7 @@ with gr.Blocks(js=js) as interface:
637
  "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.",
638
  "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
639
  1, # num_samples
640
- 32, # min_size
641
  1, # downscale
642
  1, # upscale
643
  100, # edm_steps
@@ -661,79 +661,17 @@ with gr.Blocks(js=js) as interface:
661
  60 # allocation
662
  ],
663
  [
664
- "./Examples/Example1.png",
665
- 0,
666
- "./Examples/Example1.png",
667
- "Group of people, walking, happy, in the street, photorealistic, 8k, extremely detailled",
668
- "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.",
669
- "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
670
- 2, # num_samples
671
- 32, # min_size
672
- 1, # downscale
673
- 8, # upscale
674
- 100, # edm_steps
675
- -1, # s_stage1
676
- 1, # s_stage2
677
- 7.5, # s_cfg
678
- False, # randomize_seed
679
- 42, # seed
680
- 5, # s_churn
681
- 1.003, # s_noise
682
- "AdaIn", # color_fix_type
683
- "fp16", # diff_dtype
684
- "bf16", # ae_dtype
685
- 1.0, # gamma_correction
686
- True, # linear_CFG
687
- 4, # spt_linear_CFG
688
- False, # linear_s_stage2
689
- 0., # spt_linear_s_stage2
690
- "v0-Q", # model_select
691
- "input", # output_format
692
- 180 # allocation
693
- ],
694
- [
695
- "./Examples/Example3.webp",
696
- 0,
697
- "./Examples/Example3.webp",
698
- "A red apple",
699
- "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.",
700
- "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
701
- 1, # num_samples
702
- 1024, # min_size
703
- 1, # downscale
704
- 1, # upscale
705
- 200, # edm_steps
706
- -1, # s_stage1
707
- 1, # s_stage2
708
- 7.5, # s_cfg
709
- False, # randomize_seed
710
- 42, # seed
711
- 5, # s_churn
712
- 1.003, # s_noise
713
- "Wavelet", # color_fix_type
714
- "fp16", # diff_dtype
715
- "bf16", # ae_dtype
716
- 1.0, # gamma_correction
717
- True, # linear_CFG
718
- 4, # spt_linear_CFG
719
- False, # linear_s_stage2
720
- 0., # spt_linear_s_stage2
721
- "v0-Q", # model_select
722
- "input", # output_format
723
- 180 # allocation
724
- ],
725
- [
726
- "./Examples/Example3.webp",
727
  0,
728
- "./Examples/Example3.webp",
729
- "A red marble",
730
  "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.",
731
  "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
732
- 1, # num_samples
733
- 1024, # min_size
734
  1, # downscale
735
  1, # upscale
736
- 200, # edm_steps
737
  -1, # s_stage1
738
  1, # s_stage2
739
  7.5, # s_cfg
@@ -751,8 +689,8 @@ with gr.Blocks(js=js) as interface:
751
  0., # spt_linear_s_stage2
752
  "v0-Q", # model_select
753
  "input", # output_format
754
- 180 # allocation
755
- ],
756
  ],
757
  run_on_click = True,
758
  fn = stage2_process_example,
 
637
  "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.",
638
  "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
639
  1, # num_samples
640
+ 32, # min_size
641
  1, # downscale
642
  1, # upscale
643
  100, # edm_steps
 
661
  60 # allocation
662
  ],
663
  [
664
+ "./Examples/Example2.jpeg",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  0,
666
+ "./Examples/Example2.jpeg",
667
+ "La cabeza de un gato atigrado, en una casa, fotorrealista, 8k, extremadamente detallada",
668
  "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.",
669
  "painting, oil painting, illustration, drawing, art, sketch, anime, cartoon, CG Style, 3D render, unreal engine, blurring, aliasing, pixel, unsharp, weird textures, ugly, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
670
+ 4, # num_samples
671
+ 32, # min_size
672
  1, # downscale
673
  1, # upscale
674
+ 100, # edm_steps
675
  -1, # s_stage1
676
  1, # s_stage2
677
  7.5, # s_cfg
 
689
  0., # spt_linear_s_stage2
690
  "v0-Q", # model_select
691
  "input", # output_format
692
+ 60 # allocation
693
+ ]
694
  ],
695
  run_on_click = True,
696
  fn = stage2_process_example,