Skip to content

Commit 05334d6

Browse files
chore: suppress UserWarning from huggingface_hub (#116)
1 parent 238c5bb commit 05334d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mostlyai/qa/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
__version__ = "1.5.5"
2727

2828
warnings.filterwarnings("ignore", category=FutureWarning, module="phik")
29+
warnings.filterwarnings("ignore", category=UserWarning, module="huggingface_hub")
2930
os.environ["TOKENIZERS_PARALLELISM"] = "false"
3031
if Version(pd.__version__) >= Version("2.2.0"):
3132
pd.set_option("future.no_silent_downcasting", True)

0 commit comments

Comments
 (0)