Bump the gradio version, add back the queue
This commit is contained in:
parent
7a3717b824
commit
3fa14befc5
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ filelock==3.9.0
|
||||||
fonttools==4.38.0
|
fonttools==4.38.0
|
||||||
frozenlist==1.3.3
|
frozenlist==1.3.3
|
||||||
fsspec==2022.11.0
|
fsspec==2022.11.0
|
||||||
gradio==3.14.0
|
gradio==3.16.2
|
||||||
h11==0.14.0
|
h11==0.14.0
|
||||||
httpcore==0.16.3
|
httpcore==0.16.3
|
||||||
httpx==0.23.1
|
httpx==0.23.1
|
||||||
|
|
|
@ -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)
|
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])
|
stop.click(None, None, None, cancels=[gen_event, gen_event2, cont_event])
|
||||||
|
|
||||||
interface.queue(max_size=1)
|
interface.queue()
|
||||||
if args.listen:
|
if args.listen:
|
||||||
interface.launch(share=args.share, server_name="0.0.0.0")
|
interface.launch(share=args.share, server_name="0.0.0.0")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue