From 32f40f3b42131cc897ca31fa2e87a40cd750fa0f Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sat, 25 Feb 2023 17:19:31 -0300 Subject: [PATCH] Bump gradio version to 3.19.1 --- modules/ui.py | 11 ++++++++--- requirements.txt | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/ui.py b/modules/ui.py index 61a25ca3..d98131c5 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -27,6 +27,7 @@ css = """ } #accordion { } +/* .dark svg { fill: white; } @@ -35,6 +36,10 @@ svg { vertical-align: middle !important; margin: 5px; } +*/ +ol li p, ul li p { + display: inline-block; +} """ chat_css = """ @@ -42,9 +47,9 @@ chat_css = """ height: 66.67vh } .gradio-container { - max-width: 800px; - margin-left: auto; - margin-right: auto + max-width: 800px !important; + margin-left: auto !important; + margin-right: auto !important; } .w-screen { width: unset diff --git a/requirements.txt b/requirements.txt index 89825316..b6196372 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ accelerate==0.16.0 bitsandbytes==0.37.0 -gradio==3.18.0 +gradio==3.19.1 numpy safetensors==0.2.8 git+https://github.com/huggingface/transformers