From 5003f7d0a0c201e0bdb8deb689c7da5d576fd418 Mon Sep 17 00:00:00 2001 From: Kaushik B <45285388+kaushikb11@users.noreply.github.com> Date: Sun, 7 Mar 2021 21:51:42 +0530 Subject: [PATCH] Update flash/core/data/utils.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Carlos MocholĂ­ --- flash/core/data/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash/core/data/utils.py b/flash/core/data/utils.py index 27c841673a..380253789c 100644 --- a/flash/core/data/utils.py +++ b/flash/core/data/utils.py @@ -42,7 +42,7 @@ def download_file(url: str, path: str, verbose: bool = False) -> None: chunk_size = 1024 num_bars = int(file_size / chunk_size) if verbose: - logging.info(f'file size: {dict(file_size=file_size)} \n # bars: {dict(num_bars=num_bars)}') + logging.info(f'file size: {file_size}\n# bars: {num_bars}') with open(local_filename, 'wb') as fp: for chunk in tq( r.iter_content(chunk_size=chunk_size),