Spaces:
Paused
Paused
Stefan Benten
commited on
Commit
•
9dd4091
1
Parent(s):
b9a04e3
app.py: linting
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks(css=css) as demo:
|
|
119 |
with gr.Column(scale=6, min_width=600):
|
120 |
prompt = gr.Textbox("puppies in a cloud, 4k", placeholder="Prompt", show_label=False, lines=3)
|
121 |
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3)
|
122 |
-
with gr.Column(
|
123 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
124 |
|
125 |
with gr.Row():
|
@@ -158,8 +158,8 @@ with gr.Blocks(css=css) as demo:
|
|
158 |
height = gr.Slider(label="Height", minimum=1, maximum=1024, value=512, step=8)
|
159 |
|
160 |
with gr.Column(scale=1):
|
161 |
-
batch_size = gr.Slider(label="Batch Size",
|
162 |
-
batch_count = gr.Slider(label="Batch Count",
|
163 |
|
164 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
165 |
seed = gr.Number(label="Seed", value=-1)
|
|
|
119 |
with gr.Column(scale=6, min_width=600):
|
120 |
prompt = gr.Textbox("puppies in a cloud, 4k", placeholder="Prompt", show_label=False, lines=3)
|
121 |
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3)
|
122 |
+
with gr.Column():
|
123 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
124 |
|
125 |
with gr.Row():
|
|
|
158 |
height = gr.Slider(label="Height", minimum=1, maximum=1024, value=512, step=8)
|
159 |
|
160 |
with gr.Column(scale=1):
|
161 |
+
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
162 |
+
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
163 |
|
164 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
165 |
seed = gr.Number(label="Seed", value=-1)
|