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".
This commit is contained in:
parent
3e64c4ac11
commit
d5cdb5eb3c
4
webui.py
4
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"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user