Update gradio_demo/character_template.py
Browse files
    	
        gradio_demo/character_template.py
    CHANGED
    
    | @@ -1,43 +1,55 @@ | |
| 1 | 
             
            character_list_man = [
         | 
| 2 | 
            -
                {
         | 
| 3 | 
            -
                    "name": "Harry Potter (identifier: Harry Potter)",
         | 
| 4 | 
            -
                    "prompt": "Close-up photo of the Harry Potter, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 5 | 
            -
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 6 | 
            -
                    "path": "./checkpoint/lora/Harry_Potter.safetensors",
         | 
| 7 | 
            -
                },
         | 
| 8 | 
             
                {
         | 
| 9 | 
             
                    "name": "Chris Evans (identifier: Chris Evans)",
         | 
| 10 | 
             
                    "prompt": "Close-up photo of the Chris Evans, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 11 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 12 | 
             
                    "path": "./checkpoint/lora/chris-evans.safetensors",
         | 
| 13 | 
             
                },
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 14 | 
             
                {
         | 
| 15 | 
             
                    "name": "Jordan Torres (identifier: jordan_torres)",
         | 
| 16 | 
             
                    "prompt": "Close-up photo of the jordan_torres man, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 17 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 18 | 
             
                    "path": "./checkpoint/lora/jordan_torres_v2_xl.safetensors",
         | 
| 19 | 
             
                },
         | 
| 20 | 
            -
            ]
         | 
| 21 | 
            -
             | 
| 22 | 
            -
            character_list_woman = [
         | 
| 23 | 
             
                {
         | 
| 24 | 
            -
                    "name": " | 
| 25 | 
            -
                    "prompt": "Close-up photo of  | 
| 26 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 27 | 
            -
                    "path": "./checkpoint/lora/ | 
| 28 | 
             
                },
         | 
|  | |
|  | |
|  | |
| 29 | 
             
                {
         | 
| 30 | 
             
                    "name": "Taylor Swift (identifier: TaylorSwift)",
         | 
| 31 | 
             
                    "prompt": "Close-up photo of the TaylorSwift, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 32 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 33 | 
             
                    "path": "./checkpoint/lora/TaylorSwiftSDXL.safetensors",
         | 
| 34 | 
             
                },
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 35 | 
             
                {
         | 
| 36 | 
             
                    "name": "Keira Knightley (identifier: ohwx woman)",
         | 
| 37 | 
             
                    "prompt": "Close-up photo of the ohwx woman, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 38 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 39 | 
             
                    "path": "./checkpoint/lora/keira_lora_sdxl_v1-000008.safetensors",
         | 
| 40 | 
             
                },
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 41 | 
             
            ]
         | 
| 42 |  | 
| 43 | 
             
            style_list = [
         | 
| @@ -46,10 +58,20 @@ style_list = [ | |
| 46 | 
             
                    "prompt": "",
         | 
| 47 | 
             
                    "path": "",
         | 
| 48 | 
             
                },
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
| 49 | 
             
                {
         | 
| 50 | 
             
                    "name": "Anime sketch style",
         | 
| 51 | 
             
                    "prompt": "Pencil_Sketch:1.2, messy lines, greyscale, traditional media, sketch, ",
         | 
| 52 | 
             
                    "path": "./checkpoint/style/Anime_Sketch_SDXL.safetensors",
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
| 53 | 
             
                }
         | 
| 54 | 
             
            ]
         | 
| 55 |  | 
|  | |
| 1 | 
             
            character_list_man = [
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 2 | 
             
                {
         | 
| 3 | 
             
                    "name": "Chris Evans (identifier: Chris Evans)",
         | 
| 4 | 
             
                    "prompt": "Close-up photo of the Chris Evans, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 5 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 6 | 
             
                    "path": "./checkpoint/lora/chris-evans.safetensors",
         | 
| 7 | 
             
                },
         | 
| 8 | 
            +
            {
         | 
| 9 | 
            +
                    "name": "Harry Potter (identifier: Harry Potter)",
         | 
| 10 | 
            +
                    "prompt": "Close-up photo of the Harry Potter, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 11 | 
            +
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 12 | 
            +
                    "path": "./checkpoint/lora/Harry_Potter.safetensors",
         | 
| 13 | 
            +
                },
         | 
| 14 | 
             
                {
         | 
| 15 | 
             
                    "name": "Jordan Torres (identifier: jordan_torres)",
         | 
| 16 | 
             
                    "prompt": "Close-up photo of the jordan_torres man, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 17 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 18 | 
             
                    "path": "./checkpoint/lora/jordan_torres_v2_xl.safetensors",
         | 
| 19 | 
             
                },
         | 
|  | |
|  | |
|  | |
| 20 | 
             
                {
         | 
| 21 | 
            +
                    "name": "Gleb Savchenko (identifier: Liam Hemsworth a man)",
         | 
| 22 | 
            +
                    "prompt": "Close-up photo of Liam Hemsworth a man, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 23 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 24 | 
            +
                    "path": "./checkpoint/lora/gleb_savchenko_sdxl.safetensors",
         | 
| 25 | 
             
                },
         | 
| 26 | 
            +
            ]
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            character_list_woman = [
         | 
| 29 | 
             
                {
         | 
| 30 | 
             
                    "name": "Taylor Swift (identifier: TaylorSwift)",
         | 
| 31 | 
             
                    "prompt": "Close-up photo of the TaylorSwift, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 32 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 33 | 
             
                    "path": "./checkpoint/lora/TaylorSwiftSDXL.safetensors",
         | 
| 34 | 
             
                },
         | 
| 35 | 
            +
                {
         | 
| 36 | 
            +
                    "name": "Hermione Granger (identifier: Hermione Granger)",
         | 
| 37 | 
            +
                    "prompt": "Close-up photo of the Hermione Granger, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 38 | 
            +
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 39 | 
            +
                    "path": "./checkpoint/lora/Hermione_Granger.safetensors",
         | 
| 40 | 
            +
                },
         | 
| 41 | 
             
                {
         | 
| 42 | 
             
                    "name": "Keira Knightley (identifier: ohwx woman)",
         | 
| 43 | 
             
                    "prompt": "Close-up photo of the ohwx woman, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 44 | 
             
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 45 | 
             
                    "path": "./checkpoint/lora/keira_lora_sdxl_v1-000008.safetensors",
         | 
| 46 | 
             
                },
         | 
| 47 | 
            +
                {
         | 
| 48 | 
            +
                    "name": "Jennifer Lawrence (identifier: Jennifer Lawrence WOMAN)",
         | 
| 49 | 
            +
                    "prompt": "Close-up photo of the Jennifer Lawrence WOMAN, 35mm photograph, film, professional, 4k, highly detailed.",
         | 
| 50 | 
            +
                    "negative_prompt": "noisy, blurry, soft, deformed, ugly",
         | 
| 51 | 
            +
                    "path": "./checkpoint/lora/lawrence_dh128_v1-step00012000.safetensors",
         | 
| 52 | 
            +
                },
         | 
| 53 | 
             
            ]
         | 
| 54 |  | 
| 55 | 
             
            style_list = [
         | 
|  | |
| 58 | 
             
                    "prompt": "",
         | 
| 59 | 
             
                    "path": "",
         | 
| 60 | 
             
                },
         | 
| 61 | 
            +
                {
         | 
| 62 | 
            +
                    "name": "Cinematic Photography Style",
         | 
| 63 | 
            +
                    "prompt": "Cinematic Hollywood Film Style, ",
         | 
| 64 | 
            +
                    "path": "./checkpoint/style/Cinematic Hollywood Film.safetensors",
         | 
| 65 | 
            +
                },
         | 
| 66 | 
             
                {
         | 
| 67 | 
             
                    "name": "Anime sketch style",
         | 
| 68 | 
             
                    "prompt": "Pencil_Sketch:1.2, messy lines, greyscale, traditional media, sketch, ",
         | 
| 69 | 
             
                    "path": "./checkpoint/style/Anime_Sketch_SDXL.safetensors",
         | 
| 70 | 
            +
                },
         | 
| 71 | 
            +
                {
         | 
| 72 | 
            +
                    "name": "Oil Painting Style",
         | 
| 73 | 
            +
                    "prompt": "palette knife painting, ",
         | 
| 74 | 
            +
                    "path": "./checkpoint/style/EldritchPaletteKnife.safetensors",
         | 
| 75 | 
             
                }
         | 
| 76 | 
             
            ]
         | 
| 77 |  |