tombetthauser commited on
Commit
e4df1d3
Β·
1 Parent(s): bb69280

Upped max resolution and updated text to reflect lower square pixel limit

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -163,11 +163,10 @@ with gr.Blocks(css=".gradio-container {max-width: 650px}") as dropdown_tab:
163
  steps = gr.Slider(1, 100, label="inference steps", dtype=int, value=default_steps, step=1, interactive=True)
164
  with gr.Row():
165
  with gr.Column():
166
- height = gr.Slider(1, 3500, label="height", dtype=int, value=default_pixel, step=1, interactive=True)
167
  with gr.Column():
168
- width = gr.Slider(1, 3500, label="width", dtype=int, value=default_pixel, step=1, interactive=True)
169
- gr.Markdown("<u>heads-up</u>: height multiplied by width should not exceed about 195,000 or an error will occur so don't go too nuts")
170
-
171
  go_button = gr.Button("generate image", elem_id="go-button")
172
  output = gr.Image(elem_id="output-image")
173
  output_text = gr.Text(elem_id="output-text")
 
163
  steps = gr.Slider(1, 100, label="inference steps", dtype=int, value=default_steps, step=1, interactive=True)
164
  with gr.Row():
165
  with gr.Column():
166
+ height = gr.Slider(1, 35000, label="height", dtype=int, value=default_pixel, step=1, interactive=True)
167
  with gr.Column():
168
+ width = gr.Slider(1, 35000, label="width", dtype=int, value=default_pixel, step=1, interactive=True)
169
+ gr.Markdown("<u>heads-up</u>: Height multiplied by width should not exceed about 645,000 or an error will occur so don't go too nuts. If an error occours refresh your browser tab or errors will continue.")
 
170
  go_button = gr.Button("generate image", elem_id="go-button")
171
  output = gr.Image(elem_id="output-image")
172
  output_text = gr.Text(elem_id="output-text")