Spaces:
Runtime error
Runtime error
Update app.py
Browse files291 unmodified lines29229329429529629784 unmodified lines382383384385386387388389390291 unmodified linesvalue="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly")with gr.Column():text_button = gr.Button("Generate", variant='primary', elem_id="generate")with gr.Row():with gr.Column(scale=3):84 unmodified lineswith gr.Tab("Gallery"):gallery_obj = gr.Gallery(height=1000, columns=5)text_button.click(flip_text,inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed, batch_size, batch_count,gallery_obj], outputs=[image_output, gallery_obj])image_input.upload(get_exif_data, inputs=[image_input], outputs=exif_output)send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input],outputs=[tabs, prompt, negative_prompt, steps, seed,291 unmodified lines29229329429529629729884 unmodified lines383384385386387388389390391392291 unmodified linesvalue="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly")with gr.Column():text_button = gr.Button("Generate", variant='primary', elem_id="generate")stop_btn = gr.Button("Cancel")with gr.Row():with gr.Column(scale=3):84 unmodified lineswith gr.Tab("Gallery"):gallery_obj = gr.Gallery(height=1000, columns=5)generation_event = text_button.click(flip_text,inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed, batch_size, batch_count,gallery_obj], outputs=[image_output, gallery_obj])stop_btn.click(fn=None, outputs=None, cancels=[generation_event])image_input.upload(get_exif_data, inputs=[image_input], outputs=exif_output)send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input],outputs=[tabs, prompt, negative_prompt, steps, seed,
app.py+3-1