From 3fa14befc539ee6958e88bc3c5de4efe25b1b816 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 25 Jan 2023 16:10:35 -0300 Subject: [PATCH] Bump the gradio version, add back the queue --- requirements.txt | 2 +- server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: