From 91fd26d8bff6fad05face745613187c97b521c45 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Tue, 27 Jul 2021 12:46:24 +0200 Subject: [PATCH] do not print token to reduce dissemination (from shared Colabs etc.) --- src/huggingface_hub/commands/user.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/huggingface_hub/commands/user.py b/src/huggingface_hub/commands/user.py index 085e027dce..7c02d87fc4 100644 --- a/src/huggingface_hub/commands/user.py +++ b/src/huggingface_hub/commands/user.py @@ -146,7 +146,6 @@ def run(self): exit(1) HfFolder.save_token(token) print("Login successful") - print("Your token:", token, "\n") print("Your token has been saved to", HfFolder.path_token)