Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -469,7 +469,7 @@ with gr.Blocks() as build_app:
|
|
469 |
t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)
|
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")
|
@@ -490,7 +490,7 @@ with gr.Blocks() as build_app:
|
|
490 |
files_out = gr.Files()
|
491 |
gr.Column(scale=1)
|
492 |
|
493 |
-
magic_btn.click(get_prompts,prompt_input,
|
494 |
gen_btn.click(gen_im,prompt_output,gen_im_out)
|
495 |
|
496 |
t_image.change(up_c,[t_image,c_slider],c_image)
|
|
|
469 |
t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)
|
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")
|
|
|
490 |
files_out = gr.Files()
|
491 |
gr.Column(scale=1)
|
492 |
|
493 |
+
magic_btn.click(get_prompts,prompt_input,prompt_input)
|
494 |
gen_btn.click(gen_im,prompt_output,gen_im_out)
|
495 |
|
496 |
t_image.change(up_c,[t_image,c_slider],c_image)
|