diff --git a/requirements.txt b/requirements.txt index c918d8db..d59ee7cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/server.py b/server.py index 53d0a031..d08b6c84 100644 --- a/server.py +++ b/server.py @@ -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: