Omnibus commited on
Commit
c60963d
1 Parent(s): 4d5a6d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -470,11 +470,9 @@ with gr.Blocks() as build_app:
470
  with gr.Row():
471
  def_im = gr.Button("Load Default Image")
472
  #gen_im = gr.Button("Generate Image")
473
- with gr.Accordion("Generated Image Controls"):
474
- with gr.Row():
475
- prompt_input=gr.Textbox("Seed Prompt", placeholder="Optional")
476
- prompt_output=gr.Textbox("Prompt to Image")
477
- model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
478
  with gr.Row():
479
  magic_btn=gr.Button("Magic Prompt")
480
  gen_btn=gr.Button("Generate Images")
 
470
  with gr.Row():
471
  def_im = gr.Button("Load Default Image")
472
  #gen_im = gr.Button("Generate Image")
473
+ with gr.Accordion("Generated Image Controls", open=False):
474
+ prompt_input=gr.Textbox("Seed Prompt", placeholder="Optional")
475
+ model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
 
 
476
  with gr.Row():
477
  magic_btn=gr.Button("Magic Prompt")
478
  gen_btn=gr.Button("Generate Images")