AlekseyCalvin
commited on
Commit
•
756113f
1
Parent(s):
2bee297
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ with open('loras.json', 'r') as f:
|
|
38 |
|
39 |
# Initialize the base model
|
40 |
#base_model = "stabilityai/stable-diffusion-3.5-large"
|
41 |
-
pipe = AutoPipelineForText2Image.from_pretrained("
|
42 |
|
43 |
clipmodel = 'norm'
|
44 |
if clipmodel == "long":
|
@@ -196,8 +196,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
196 |
with gr.Accordion("Advanced Settings", open=True):
|
197 |
with gr.Column():
|
198 |
with gr.Row():
|
199 |
-
cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.
|
200 |
-
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=
|
201 |
|
202 |
with gr.Row():
|
203 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|
|
|
38 |
|
39 |
# Initialize the base model
|
40 |
#base_model = "stabilityai/stable-diffusion-3.5-large"
|
41 |
+
pipe = AutoPipelineForText2Image.from_pretrained("ariG23498/sd-3.5-merged", torch_dtype=torch.bfloat16)
|
42 |
|
43 |
clipmodel = 'norm'
|
44 |
if clipmodel == "long":
|
|
|
196 |
with gr.Accordion("Advanced Settings", open=True):
|
197 |
with gr.Column():
|
198 |
with gr.Row():
|
199 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.1, value=1.7)
|
200 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=7)
|
201 |
|
202 |
with gr.Row():
|
203 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|