MrDrmm commited on
Commit
6035d36
·
verified ·
1 Parent(s): caff86b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
25
  with gr.Accordion("Advanced options", open=False):
26
  neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
27
  with gr.Row():
28
- width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=2048, step=32, value=0)
29
- height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=2048, step=32, value=0)
30
  steps = gr.Slider(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
31
  with gr.Row():
32
  cfg = gr.Slider(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
 
25
  with gr.Accordion("Advanced options", open=False):
26
  neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
27
  with gr.Row():
28
+ width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=4096, step=32, value=0)
29
+ height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=4096, step=32, value=0)
30
  steps = gr.Slider(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
31
  with gr.Row():
32
  cfg = gr.Slider(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)