Update app.py
Browse files3 unmodified lines456778935 unmodified lines4546474950484950525152535435 unmodified lines9091929493943 unmodified linesfrom datetime import datetime
now2 = 0kii="mohawk femboy racecar driver";
def get_current_time():35 unmodified linesdef make_me(): # with gr.Tab('The Dream'): with gr.Row(): txt_input = gr.Textbox(lines=3, value=kii, width=300, max_height=100) #txt_input = gr.Textbox(label='Your prompt:', lines=2, value=kii) #txt_input = gr.Textbox(lines=3, width=300, max_height=100) txt_input = gr.Textbox(label='Your prompt:', lines=3, width=300, max_height=100) gen_button = gr.Button('Generate images (5 concurrent, to try and avoid "CUDA out of memory" errors)', width=150, height=30) gen_button = gr.Button('Generate images', width=150, height=30) stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=150, height=30) gen_button.click(lambda s: gr.update(interactive=True), None, stop_button) gr.HTML("""35 unmodified lines
demo.queue(concurrency_count=5)demo.queue(concurrency_count=999)demo.launch()app.py+4-5