Update app.py
Browse files312 unmodified lines313314315316317318319320321322323324325326327328329312 unmodified linesgallery_html += "</div>"gr.HTML(gallery_html)# 이벤트 핸들러generate_btn.click(fn=process_and_save_image,inputs=[height, width, steps, scales, prompt, seed],outputs=output)randomize_seed.click(fn=get_random_seed,outputs=seed)if __name__ == "__main__":demo.launch(allowed_paths=[PERSISTENT_DIR])312 unmodified lines313314315316317318319320321322323324325326327328329330331332333312 unmodified linesgallery_html += "</div>"gr.HTML(gallery_html)# 이벤트 핸들러 부분만 수정inputs_list = [height, width, steps, scales, prompt, seed]generate_btn.click(fn=process_and_save_image,inputs=inputs_list,outputs=[output])randomize_seed.click(fn=get_random_seed,outputs=[seed])if __name__ == "__main__":demo.launch(allowed_paths=[PERSISTENT_DIR])
app.py+9-5