Commit
·
00f9af8
1
Parent(s):
bf4b161
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ model_base = "Justin-Choo/epiCRealism-Natural_Sin_RC1_VAE" #realistic people
|
|
| 8 |
#model_base = "runwayml/stable-diffusion-v1-5" #base
|
| 9 |
#model_base = "Krebzonide/LazyMixPlus" #nsfw people
|
| 10 |
|
| 11 |
-
lora_model_path = "Krebzonide/LoRA-JO-0" #jortega - Jenna Ortega
|
| 12 |
#lora_model_path = "Krebzonide/LoRA-CH-0" #mecjh - Corey H, traind on epiCRealism
|
|
|
|
| 13 |
#lora_model_path = "Krebzonide/LoRA-EM1" #gfemti - Emily M, trained on sd-V1-5
|
| 14 |
#lora_model_path = "Krebzonide/LoRA-YX1" #uwspyx - Professor Xing, trained on Realistic_Vision
|
| 15 |
|
|
@@ -67,7 +67,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 67 |
prompt = gr.Textbox(label="Prompt")
|
| 68 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="lowres, bad anatomy, bad hands, cropped, worst quality, disfigured, deformed, extra limbs, asian, filter, render")
|
| 69 |
submit_btn = gr.Button("Generate", variant="primary", min_width="96px")
|
| 70 |
-
gallery = gr.Gallery(label="Generated images")
|
| 71 |
with gr.Row():
|
| 72 |
samp_steps = gr.Slider(1, 100, value=30, step=1, label="Sampling steps")
|
| 73 |
guide_scale = gr.Slider(1, 10, value=6, step=0.5, label="Guidance scale")
|
|
|
|
| 8 |
#model_base = "runwayml/stable-diffusion-v1-5" #base
|
| 9 |
#model_base = "Krebzonide/LazyMixPlus" #nsfw people
|
| 10 |
|
|
|
|
| 11 |
#lora_model_path = "Krebzonide/LoRA-CH-0" #mecjh - Corey H, traind on epiCRealism
|
| 12 |
+
lora_model_path = "Krebzonide/LoRA-CH-1" #mecjh - Corey H, traind on epiCRealism
|
| 13 |
#lora_model_path = "Krebzonide/LoRA-EM1" #gfemti - Emily M, trained on sd-V1-5
|
| 14 |
#lora_model_path = "Krebzonide/LoRA-YX1" #uwspyx - Professor Xing, trained on Realistic_Vision
|
| 15 |
|
|
|
|
| 67 |
prompt = gr.Textbox(label="Prompt")
|
| 68 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="lowres, bad anatomy, bad hands, cropped, worst quality, disfigured, deformed, extra limbs, asian, filter, render")
|
| 69 |
submit_btn = gr.Button("Generate", variant="primary", min_width="96px")
|
| 70 |
+
gallery = gr.Gallery(label="Generated images", height="700px")
|
| 71 |
with gr.Row():
|
| 72 |
samp_steps = gr.Slider(1, 100, value=30, step=1, label="Sampling steps")
|
| 73 |
guide_scale = gr.Slider(1, 10, value=6, step=0.5, label="Guidance scale")
|