From c16ae9e344a86ed470b7375e3dfda78cb4ee12c7 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 14 Sep 2022 21:29:48 +0300 Subject: [PATCH] Ignore "Legacy way to download model" warning for upstream dependency --- src/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.py b/src/main.py index dc3b12c3..378758b2 100644 --- a/src/main.py +++ b/src/main.py @@ -8,6 +8,7 @@ from platform import system # Ignore non-actionable warnings warnings.filterwarnings("ignore", message=r'snapshot_download.py has been made private', category=FutureWarning) +warnings.filterwarnings("ignore", message=r'legacy way to download files from the HF hub,', category=FutureWarning) # External Packages import uvicorn