cocoat commited on
Commit
6c0755a
·
verified ·
1 Parent(s): 22288d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -421,7 +421,7 @@ html, .gradio-container, .dark, .dark * {
421
  height: 100% !important;
422
  display: block;
423
  margin: auto;
424
- object-fit: unset;
425
  }
426
 
427
  .block.svelte-11xb1hd {
@@ -503,7 +503,7 @@ with gr.Blocks(css=css, theme=gr.themes.Default(font=[gr.themes.GoogleFont("Play
503
  rand = gr.Checkbox(True, label="Randomize seed")
504
  with gr.Row():
505
  width = gr.Slider(256, 512, step=32, value=512, label="Width")
506
- height = gr.Slider(256, 1024, step=32, value=512, label="Height")
507
  with gr.Row():
508
  cfg = gr.Slider(1.0, 30.0, step=0.5, value=6, label="CFG Scale")
509
  steps = gr.Slider(1, 12, step=1, value=12, label="Steps")
 
421
  height: 100% !important;
422
  display: block;
423
  margin: auto;
424
+ object-fit: contain;
425
  }
426
 
427
  .block.svelte-11xb1hd {
 
503
  rand = gr.Checkbox(True, label="Randomize seed")
504
  with gr.Row():
505
  width = gr.Slider(256, 512, step=32, value=512, label="Width")
506
+ height = gr.Slider(256, 768, step=32, value=512, label="Height")
507
  with gr.Row():
508
  cfg = gr.Slider(1.0, 30.0, step=0.5, value=6, label="CFG Scale")
509
  steps = gr.Slider(1, 12, step=1, value=12, label="Steps")