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

@ -20,7 +20,7 @@ filelock==3.9.0
fonttools==4.38.0
frozenlist==1.3.3
fsspec==2022.11.0
gradio==3.14.0
gradio==3.16.2
h11==0.14.0
httpcore==0.16.3
httpx==0.23.1

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: