From 366c93a008cb2c0cf23e88d6bdbb757626537688 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 19 Dec 2023 21:03:20 -0800 Subject: [PATCH] Hide a warning --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index d5d11bc4..c53882f6 100644 --- a/server.py +++ b/server.py @@ -13,6 +13,7 @@ warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is warnings.filterwarnings('ignore', category=UserWarning, message='Using the update method is deprecated') warnings.filterwarnings('ignore', category=UserWarning, message='Field "model_name" has conflict') warnings.filterwarnings('ignore', category=UserWarning, message='The value passed into gr.Dropdown()') +warnings.filterwarnings('ignore', category=UserWarning, message='Field "model_names" has conflict') with RequestBlocker(): import gradio as gr