Skip to content

Commit a289d97

Browse files
dxqbclaude
andcommitted
Move httpx logging comment to the setLevel call it describes
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 271f51e commit a289d97

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

modules/modelLoader/mixin/HFModelLoaderMixin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import json
2-
3-
# huggingface_hub 1.16+ uses httpx, which logs every HTTP request/response at INFO level.
42
import logging
53
import os
64
import re
@@ -22,6 +20,7 @@
2220
from huggingface_hub.utils import EntryNotFoundError
2321
from safetensors.torch import load_file
2422

23+
# huggingface_hub 1.16+ uses httpx, which logs every HTTP request/response at INFO level.
2524
logging.getLogger("httpx").setLevel(logging.WARNING)
2625

2726

0 commit comments

Comments
 (0)