Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,13 +126,13 @@ examples = [
|
|
126 |
|
127 |
|
128 |
css = """
|
129 |
-
|
130 |
-
max-width:
|
131 |
margin-left: auto;
|
132 |
margin-right: auto;
|
133 |
-
background: url('DigiP-AI/FLUX.Dev-LORA/abstract.jpg')
|
134 |
}
|
135 |
-
|
|
|
136 |
"""
|
137 |
with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
138 |
gr.HTML("<center><h6>🎨 FLUX.1-Dev with LoRA 🇬🇧</h6></center>")
|
@@ -165,7 +165,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
165 |
custom_lora = gr.Dropdown([" ", "jwu114/lora-sdxl-realistic", "issaccyj/lora-sdxl-cyberpunk", "hugovntr/flux-schnell-realism", "fofr/sdxl-deep-down", "KappaNeuro/surreal-harmony", "ntc-ai/SDXL-LoRA-slider.extremely-detailed", "prithivMLmods/Canopus-LoRA-Flux-FaceRealism", "KappaNeuro/dark-fantasy", "artificialguybr/analogredmond", "KappaNeuro/jules-bastien-lepage-style", "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",)
|
166 |
with gr.Row():
|
167 |
with gr.Accordion("⚙️ Advanced Settings", open=False, elem_id="settings-container"):
|
168 |
-
negative_prompt = gr.Textbox(label="Negative Prompt", lines=5, placeholder="What should not be in the image", value="
|
169 |
with gr.Row():
|
170 |
width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
|
171 |
height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
|
|
|
126 |
|
127 |
|
128 |
css = """
|
129 |
+
#app-container {
|
130 |
+
max-width: 930px;
|
131 |
margin-left: auto;
|
132 |
margin-right: auto;
|
|
|
133 |
}
|
134 |
+
".gradio-container {background: url('file=DigiP-AI/FLUX.Dev-LORA/abstract.jpg')}
|
135 |
+
|
136 |
"""
|
137 |
with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
138 |
gr.HTML("<center><h6>🎨 FLUX.1-Dev with LoRA 🇬🇧</h6></center>")
|
|
|
165 |
custom_lora = gr.Dropdown([" ", "jwu114/lora-sdxl-realistic", "issaccyj/lora-sdxl-cyberpunk", "hugovntr/flux-schnell-realism", "fofr/sdxl-deep-down", "KappaNeuro/surreal-harmony", "ntc-ai/SDXL-LoRA-slider.extremely-detailed", "prithivMLmods/Canopus-LoRA-Flux-FaceRealism", "KappaNeuro/dark-fantasy", "artificialguybr/analogredmond", "KappaNeuro/jules-bastien-lepage-style", "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",)
|
166 |
with gr.Row():
|
167 |
with gr.Accordion("⚙️ Advanced Settings", open=False, elem_id="settings-container"):
|
168 |
+
negative_prompt = gr.Textbox(label="Negative Prompt", lines=5, placeholder="What should not be in the image", value=" (visible hand:1.3), (ugly:1.3), (duplicate:1.2), (morbid:1.1), (mutilated:1.1), out of frame, bad face, extra fingers, mutated hands, (poorly drawn hands:1.1), (poorly drawn face:1.3), (mutation:1.3), (deformed:1.3), blurry, (bad anatomy:1.1), (bad proportions:1.2), (extra limbs:1.1), cloned face, (disfigured:1.2), gross proportions, malformed limbs, (missing arms:1.1), (missing legs:1.1), (extra arms:1.2), (extra legs:1.2), fused fingers, too many fingers, (long neck:1.2), sketched by bad-artist, (bad-image-v2-39000:1.3) , signature, unprompted-nsfw")
|
169 |
with gr.Row():
|
170 |
width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
|
171 |
height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
|