John6666 commited on
Commit
8c34402
1 Parent(s): 1396036

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -42,7 +42,6 @@ css = """
42
  }
43
  #col-container {
44
  margin: 0 auto;
45
- max-width: 520px;
46
  }
47
  #model-info { text-align: center; }
48
  """
@@ -76,15 +75,16 @@ with gr.Blocks(css=css, fill_width=True, elem_id="container") as demo:
76
  value="(low quality, worst quality:1.2), very displeasing, watermark, signature, ugly"
77
  )
78
 
79
- seed = gr.Slider(
80
- label="Seed",
81
- minimum=0,
82
- maximum=MAX_SEED,
83
- step=1,
84
- value=0,
85
- )
 
86
 
87
- randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
88
 
89
  with gr.Row():
90
  width = gr.Slider(
 
42
  }
43
  #col-container {
44
  margin: 0 auto;
 
45
  }
46
  #model-info { text-align: center; }
47
  """
 
75
  value="(low quality, worst quality:1.2), very displeasing, watermark, signature, ugly"
76
  )
77
 
78
+ with gr.Row():
79
+ seed = gr.Slider(
80
+ label="Seed",
81
+ minimum=0,
82
+ maximum=MAX_SEED,
83
+ step=1,
84
+ value=0,
85
+ )
86
 
87
+ randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
88
 
89
  with gr.Row():
90
  width = gr.Slider(