chore: Allow the user to config the logger

This commit is contained in:
teleprint-me 2024-05-20 14:06:21 -04:00
parent bdd0286bd0
commit 18bb36e496
No known key found for this signature in database
GPG key ID: B0D11345E65C4D48

View file

@ -64,7 +64,6 @@ class HFHubRequest:
# Set the logger
if logger is None:
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
self.logger = logger