From d5cdb5eb3cfb34cbb901e4da4a0302c07e6a5e06 Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Mon, 8 Sep 2025 12:59:35 +0200 Subject: [PATCH] fix: Suppress pandas PyArrow future dependency warning Moving the import of pandas *after* we've suppressed FutureWarning, to hide a big and useless warning saying that "Pandas 3.x will require PyArrow". --- webui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui.py b/webui.py index ecac7f2..fbd3a51 100644 --- a/webui.py +++ b/webui.py @@ -7,11 +7,11 @@ import time import warnings -import pandas as pd - warnings.filterwarnings("ignore", category=FutureWarning) warnings.filterwarnings("ignore", category=UserWarning) +import pandas as pd + current_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(current_dir) sys.path.append(os.path.join(current_dir, "indextts"))