Bump the gradio version, add back the queue

This commit is contained in:
oobabooga 2023-01-25 16:10:35 -03:00
parent 7a3717b824
commit 3fa14befc5
2 changed files with 2 additions and 2 deletions

View file

@ -598,7 +598,7 @@ else:
cont_event = cont.click(generate_reply, [output_textbox, length_slider, preset_menu, model_menu], [output_textbox, markdown, html], show_progress=args.no_stream)
stop.click(None, None, None, cancels=[gen_event, gen_event2, cont_event])
interface.queue(max_size=1)
interface.queue()
if args.listen:
interface.launch(share=args.share, server_name="0.0.0.0")
else: