Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,21 +133,22 @@ with gr.Blocks(theme=theme, fill_width=True, css=css) as app:
|
|
133 |
- **flux-lora-pro-headshot**: PROHEADSHOT
|
134 |
""")
|
135 |
|
136 |
-
|
137 |
custom_lora = gr.Dropdown([" ", "prithivMLmods/Canopus-Pencil-Art-LoRA", "prithivMLmods/Flux-Realism-FineDetailed", "prithivMLmods/Fashion-Hut-Modeling-LoRA", "prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA", "prithivMLmods/Flux-Fine-Detail-LoRA", "prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA", "hugovntr/flux-schnell-realism", "fofr/sdxl-deep-down", "prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0", "prithivMLmods/Canopus-Realism-LoRA", "prithivMLmods/Canopus-LoRA-Flux-FaceRealism", "prithivMLmods/SD3.5-Large-Photorealistic-LoRA", "prithivMLmods/Flux.1-Dev-LoRA-HDR-Realism", "prithivMLmods/Ton618-Epic-Realism-Flux-LoRA", "KappaNeuro/john-singer-sargent-style", "KappaNeuro/alphonse-mucha-style", "ntc-ai/SDXL-LoRA-slider.ultra-realistic-illustration", "ntc-ai/SDXL-LoRA-slider.eye-catching", "KappaNeuro/john-constable-style", "dvyio/flux-lora-film-noir", "dvyio/flux-lora-pro-headshot"], label="Custom LoRA",)
|
138 |
-
|
139 |
-
with gr.Accordion("Advanced options", open=False):
|
140 |
-
negative_prompt = gr.Textbox(label="Negative Prompt", lines=5, placeholder="What should not be in the image", value="(((hands:-1.25))), physical-defects:2, unhealthy-deformed-joints:2, unhealthy-hands:2, out of frame, (((bad face))), (bad-image-v2-39000:1.3), (((out of frame))), deformed body features, (((poor facial details))), (poorly drawn face:1.3), jpeg artifacts, (missing arms:1.1), (missing legs:1.1), (extra arms:1.2), (extra legs:1.2), [asymmetrical features], warped expressions, distorted eyes")
|
141 |
with gr.Row():
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
144 |
strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
|
145 |
steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
|
146 |
cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
|
147 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
148 |
-
|
149 |
-
|
150 |
-
|
|
|
151 |
with gr.Row(equal_height=True):
|
152 |
with gr.Accordion("🫘Seed", open=False):
|
153 |
seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")
|
|
|
133 |
- **flux-lora-pro-headshot**: PROHEADSHOT
|
134 |
""")
|
135 |
|
136 |
+
with gr.Row():
|
137 |
custom_lora = gr.Dropdown([" ", "prithivMLmods/Canopus-Pencil-Art-LoRA", "prithivMLmods/Flux-Realism-FineDetailed", "prithivMLmods/Fashion-Hut-Modeling-LoRA", "prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA", "prithivMLmods/Flux-Fine-Detail-LoRA", "prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA", "hugovntr/flux-schnell-realism", "fofr/sdxl-deep-down", "prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0", "prithivMLmods/Canopus-Realism-LoRA", "prithivMLmods/Canopus-LoRA-Flux-FaceRealism", "prithivMLmods/SD3.5-Large-Photorealistic-LoRA", "prithivMLmods/Flux.1-Dev-LoRA-HDR-Realism", "prithivMLmods/Ton618-Epic-Realism-Flux-LoRA", "KappaNeuro/john-singer-sargent-style", "KappaNeuro/alphonse-mucha-style", "ntc-ai/SDXL-LoRA-slider.ultra-realistic-illustration", "ntc-ai/SDXL-LoRA-slider.eye-catching", "KappaNeuro/john-constable-style", "dvyio/flux-lora-film-noir", "dvyio/flux-lora-pro-headshot"], label="Custom LoRA",)
|
|
|
|
|
|
|
138 |
with gr.Row():
|
139 |
+
with gr.Accordion("⚙️ Advanced Settings", open=False, elem_id="settings-container"):
|
140 |
+
negative_prompt = gr.Textbox(label="Negative Prompt", lines=5, placeholder="What should not be in the image", value="(((hands:-1.25))), physical-defects:2, unhealthy-deformed-joints:2, unhealthy-hands:2, out of frame, (((bad face))), (bad-image-v2-39000:1.3), (((out of frame))), deformed body features, (((poor facial details))), (poorly drawn face:1.3), jpeg artifacts, (missing arms:1.1), (missing legs:1.1), (extra arms:1.2), (extra legs:1.2), [asymmetrical features], warped expressions, distorted eyes")
|
141 |
+
with gr.Row():
|
142 |
+
width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
|
143 |
+
height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
|
144 |
strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
|
145 |
steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
|
146 |
cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
|
147 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
148 |
+
method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ 2S a Karras", "DPM2 Karras", "DPM2 a Karras", "DPM++ SDE Karras", "DPM Adaptive", "DPM++ 2M", "DPM2 Ancestral", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "dpmpp_2s_ancestral", "DEIS", "DDIM", "Euler CFG PP", "Euler", "Euler a", "Euler Ancestral", "Euler+beta", "Heun", "Heun PP2", "LMS", "LMS Karras", "PLMS", "UniPC", "UniPC BH2"])
|
149 |
+
with gr.Row():
|
150 |
+
with gr.Accordion("🫘Seed", open=False):
|
151 |
+
seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")
|
152 |
with gr.Row(equal_height=True):
|
153 |
with gr.Accordion("🫘Seed", open=False):
|
154 |
seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")
|