Spaces:
Runtime error
Runtime error
montyanderson
commited on
Commit
•
463ab11
1
Parent(s):
d7da9f9
`app.py`: change column sizing
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ with gr.Blocks(css=css) as demo:
|
|
111 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
112 |
|
113 |
with gr.Row():
|
114 |
-
with gr.Column(scale=
|
115 |
with gr.Tab("Generation"):
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=1):
|
@@ -143,7 +143,7 @@ with gr.Blocks(css=css) as demo:
|
|
143 |
steps = gr.Slider(label="Steps", miniumum=1, maximum=50, value=25)
|
144 |
cfg_scale = gr.Slider(label="CFG Scale", miniumum=1, maximum=20, value=7)
|
145 |
|
146 |
-
with gr.Column(scale=
|
147 |
image_output = gr.Image()
|
148 |
|
149 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale], outputs=image_output)
|
|
|
111 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
112 |
|
113 |
with gr.Row():
|
114 |
+
with gr.Column(scale=3):
|
115 |
with gr.Tab("Generation"):
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=1):
|
|
|
143 |
steps = gr.Slider(label="Steps", miniumum=1, maximum=50, value=25)
|
144 |
cfg_scale = gr.Slider(label="CFG Scale", miniumum=1, maximum=20, value=7)
|
145 |
|
146 |
+
with gr.Column(scale=2):
|
147 |
image_output = gr.Image()
|
148 |
|
149 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale], outputs=image_output)
|