Spaces:
Running
Running
Update app.py
Browse files42 unmodified lines4344454647484950515253545556575859606142 unmodified linesreturn models_load[model_str](f'{prompt} {noise}')def make_me():with gr.Tab('The Dream'):txt_input = gr.Textbox(label='Your prompt:', lines=2, value=kii)gen_button = gr.Button('Generate images ')stop_button = gr.Button('Stop', variant='secondary', interactive=False)gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)gr.HTML("""<div style="text-align: center; max-width: 100%; margin: 0 auto;"><!--div><body></body></div--></div>""")with gr.Row():output = [gr.Image(label=m, min_width=250) for m in default_models]current_models = [gr.Textbox(m, visible=True) for m in default_models]42 unmodified lines434445464748495051525354555657585960616242 unmodified linesreturn models_load[model_str](f'{prompt} {noise}')def make_me():# with gr.Tab('The Dream'):with gr.Row():txt_input = gr.Textbox(label='Your prompt:', lines=2, value=kii)gen_button = gr.Button('Generate images ')stop_button = gr.Button('Stop', variant='secondary', interactive=False)gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)#gr.HTML("""# <div style="text-align: center; max-width: 100%; margin: 0 auto;"># <!--div># <body># </body># </div--># </div>#""")with gr.Row():output = [gr.Image(label=m, min_width=250) for m in default_models]current_models = [gr.Textbox(m, visible=True) for m in default_models]
app.py+14-13