prithivMLmods commited on
Commit
c6f8f53
·
verified ·
1 Parent(s): 7f9076e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -167,17 +167,16 @@ def load_predefined_images():
167
 
168
  with gr.Blocks(css=css) as demo:
169
  gr.Markdown(DESCRIPTIONz)
170
- with gr.Group():
171
- with gr.Row():
172
- prompt = gr.Text(
173
- label="Prompt",
174
- show_label=False,
175
- max_lines=1,
176
- placeholder="Enter your prompt with resp. tag!",
177
- container=False,
178
- )
179
- run_button = gr.Button("Run", scale=0)
180
- result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
181
 
182
  with gr.Accordion("Advanced options", open=False, visible=False):
183
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
 
167
 
168
  with gr.Blocks(css=css) as demo:
169
  gr.Markdown(DESCRIPTIONz)
170
+ with gr.Row():
171
+ with gr.Column(scale=1):
172
+ with gr.Row():
173
+ prompt = gr.Text(
174
+ show_label=False,
175
+ max_lines=1,
176
+ placeholder="Enter your prompt",
177
+ container=False,
178
+ )
179
+ run_button = gr.Button("Run", scale=0, variant="primary")
 
180
 
181
  with gr.Accordion("Advanced options", open=False, visible=False):
182
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)