Update app.py
Browse files
app.py
CHANGED
|
@@ -107,9 +107,9 @@ def load_and_prepare_model(model_id):
|
|
| 107 |
#pipeX = StableDiffusionXLPipeline.from_pretrained("ford442/Juggernaut-XI-v11-fp32",use_safetensors=True)
|
| 108 |
|
| 109 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
| 110 |
-
|
| 111 |
#'John6666/pornworks-sexy-beauty-v04-sdxl',
|
| 112 |
-
'John6666/uber-realistic-porn-merge-xl-urpmxl-v3-sdxl',
|
| 113 |
#'ford442/Juggernaut-XI-v11-fp32',
|
| 114 |
# 'SG161222/RealVisXL_V5.0',
|
| 115 |
#torch_dtype=torch.bfloat16,
|
|
@@ -510,14 +510,14 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 510 |
minimum=0.1,
|
| 511 |
maximum=30,
|
| 512 |
step=0.1,
|
| 513 |
-
value=
|
| 514 |
)
|
| 515 |
num_inference_steps = gr.Slider(
|
| 516 |
label="Number of inference steps",
|
| 517 |
minimum=10,
|
| 518 |
maximum=1000,
|
| 519 |
step=10,
|
| 520 |
-
value=
|
| 521 |
)
|
| 522 |
|
| 523 |
gr.Examples(
|
|
|
|
| 107 |
#pipeX = StableDiffusionXLPipeline.from_pretrained("ford442/Juggernaut-XI-v11-fp32",use_safetensors=True)
|
| 108 |
|
| 109 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
| 110 |
+
'ford442/RealVisXL_V5.0_BF16',
|
| 111 |
#'John6666/pornworks-sexy-beauty-v04-sdxl',
|
| 112 |
+
#'John6666/uber-realistic-porn-merge-xl-urpmxl-v3-sdxl',
|
| 113 |
#'ford442/Juggernaut-XI-v11-fp32',
|
| 114 |
# 'SG161222/RealVisXL_V5.0',
|
| 115 |
#torch_dtype=torch.bfloat16,
|
|
|
|
| 510 |
minimum=0.1,
|
| 511 |
maximum=30,
|
| 512 |
step=0.1,
|
| 513 |
+
value=3.8,
|
| 514 |
)
|
| 515 |
num_inference_steps = gr.Slider(
|
| 516 |
label="Number of inference steps",
|
| 517 |
minimum=10,
|
| 518 |
maximum=1000,
|
| 519 |
step=10,
|
| 520 |
+
value=170,
|
| 521 |
)
|
| 522 |
|
| 523 |
gr.Examples(
|