122 unmodified lines123124125126126127128129122 unmodified lines time_cost = gr.Textbox(label="Time Cost", lines=1, interactive=False) g_btn.click( fn=compile_pipe, fn=text_to_image, inputs=[prompt, steps], outputs=[generated_image, time_cost], )