Spaces:
Runtime error
Runtime error
Revert "take off queue=false"
Browse filesThis reverts commit 6126519f861c64e9ffb471850b451bec57588448.
917 unmodified lines91891992092192292392427 unmodified lines95295395495595695730 unmodified lines98898999099199299399499599699799899920 unmodified lines102010211022102310241025917 unmodified linestriggers=[textbox.submit, imagebox.upload, submit_btn.click],fn=expand_layout,outputs=[upload_area, generated_memes_gallery],).then(fn=lambda: "", inputs=[], outputs=[generated_memes_gallery]).then(fn=model_inference,inputs=[model_selector,27 unmodified linesfn=remove_last_turn,inputs=chatbot,outputs=[chatbot, textbox, generated_memes_gallery],).then(fn=lambda: regenerate_btn.update(interactive=False),inputs=[],30 unmodified linesfn=choose_gallery,inputs=[gallery_type_choice],outputs=[template_gallery],)template_gallery.select(fn=add_file_gallery,inputs=[template_gallery],outputs=[textbox, imagebox, generated_memes_gallery],).success(fn=expand_layout, outputs=[upload_area, generated_memes_gallery]).success(fn=model_inference,inputs=[model_selector,20 unmodified linesfn=choose_gallery,inputs=[gallery_type_choice],outputs=[template_gallery],)demo.queue(concurrency_count=8, max_size=40, api_open=False)demo.launch(max_threads=400)917 unmodified lines91891992092192292392492592692727 unmodified lines95595695795895996096130 unmodified lines9929939949959969979989991000100110021003100410051006100720 unmodified lines1028102910301031103210331034917 unmodified linestriggers=[textbox.submit, imagebox.upload, submit_btn.click],fn=expand_layout,outputs=[upload_area, generated_memes_gallery],queue=False,).then(fn=lambda: "", inputs=[], outputs=[generated_memes_gallery], queue=False).then(fn=model_inference,inputs=[model_selector,27 unmodified linesfn=remove_last_turn,inputs=chatbot,outputs=[chatbot, textbox, generated_memes_gallery],queue=False,).then(fn=lambda: regenerate_btn.update(interactive=False),inputs=[],30 unmodified linesfn=choose_gallery,inputs=[gallery_type_choice],outputs=[template_gallery],queue=False,)template_gallery.select(fn=add_file_gallery,inputs=[template_gallery],outputs=[textbox, imagebox, generated_memes_gallery],queue=False,).success(fn=expand_layout, outputs=[upload_area, generated_memes_gallery], queue=False).success(fn=model_inference,inputs=[model_selector,20 unmodified linesfn=choose_gallery,inputs=[gallery_type_choice],outputs=[template_gallery],queue=False,)demo.queue(concurrency_count=8, max_size=40, api_open=False)demo.launch(max_threads=400)
app_dialogue.py+11-2