panelforge commited on
Commit
5244b5d
·
verified ·
1 Parent(s): 425c2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -14
app.py CHANGED
@@ -83,20 +83,22 @@ with gr.Blocks(css=css) as demo:
83
  run_button = gr.Button("Run", scale=0, variant="primary")
84
 
85
  with gr.Accordion("Advanced Settings", open=False):
86
- negative_prompt = gr.Text(
87
- label="Negative prompt",
88
- lines=3,
89
- placeholder="Enter a negative prompt",
90
- visible=True, # Show negative prompt by default
91
- )
92
-
93
- seed = gr.Slider(
94
- label="Seed",
95
- minimum=0,
96
- maximum=MAX_SEED,
97
- step=1,
98
- value=0,
99
- )
 
 
100
 
101
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
102
 
 
83
  run_button = gr.Button("Run", scale=0, variant="primary")
84
 
85
  with gr.Accordion("Advanced Settings", open=False):
86
+ with gr.Row():
87
+ negative_prompt = gr.Text(
88
+ label="Negative prompt",
89
+ lines=3,
90
+ placeholder="Enter a negative prompt",
91
+ visible=True, # Show negative prompt by default
92
+ )
93
+
94
+ with gr.Row():
95
+ seed = gr.Slider(
96
+ label="Seed",
97
+ minimum=0,
98
+ maximum=MAX_SEED,
99
+ step=1,
100
+ value=0,
101
+ )
102
 
103
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
104