We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HF_DEBUG
1 parent 1fb0107 commit c9d0870Copy full SHA for c9d0870
1 file changed
src/huggingface_hub/cli/hf.py
@@ -13,6 +13,7 @@
13
# limitations under the License.
14
15
16
+from huggingface_hub import constants
17
from huggingface_hub.cli._cli_utils import check_cli_update, typer_factory
18
from huggingface_hub.cli.auth import auth_cli
19
from huggingface_hub.cli.cache import cache_cli
@@ -51,7 +52,8 @@
51
52
53
54
def main():
- logging.set_verbosity_info()
55
+ if not constants.HF_DEBUG:
56
+ logging.set_verbosity_info()
57
check_cli_update()
58
app()
59
0 commit comments