Staticaliza commited on
Commit
7aab969
·
verified ·
1 Parent(s): 7121aae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,8 +147,8 @@ with gr.Blocks(css=css) as main:
147
  filter_input = gr.Textbox(lines=1, value="", label="Input Filter")
148
  negative_input = gr.Textbox(lines=1, value=DEFAULT_NEGATIVE_INPUT, label="Input Negative")
149
  model = gr.Dropdown(label="Models", choices=repo_customs.keys(), value="Default")
150
- height = gr.Slider(minimum=1, maximum=2160, step=1, value=DEFAULT_HEIGHT, label="Height")
151
- width = gr.Slider(minimum=1, maximum=2160, step=1, value=DEFAULT_WIDTH, label="Width")
152
  steps = gr.Slider(minimum=-1, maximum=100, step=1, value=-1, label="Steps")
153
  guidance = gr.Slider(minimum=-1, maximum=100, step=0.001, value=-1, label = "Guidance")
154
  number = gr.Slider(minimum=1, maximum=4, step=1, value=1, label="Number")
 
147
  filter_input = gr.Textbox(lines=1, value="", label="Input Filter")
148
  negative_input = gr.Textbox(lines=1, value=DEFAULT_NEGATIVE_INPUT, label="Input Negative")
149
  model = gr.Dropdown(label="Models", choices=repo_customs.keys(), value="Default")
150
+ height = gr.Slider(minimum=8, maximum=2160, step=1, value=DEFAULT_HEIGHT, label="Height")
151
+ width = gr.Slider(minimum=8, maximum=2160, step=1, value=DEFAULT_WIDTH, label="Width")
152
  steps = gr.Slider(minimum=-1, maximum=100, step=1, value=-1, label="Steps")
153
  guidance = gr.Slider(minimum=-1, maximum=100, step=0.001, value=-1, label = "Guidance")
154
  number = gr.Slider(minimum=1, maximum=4, step=1, value=1, label="Number")