Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
475 |
-
|
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")
|