diff --git a/utils/general.py b/utils/general.py index ac9b0cefd7c8..3e42e887283c 100755 --- a/utils/general.py +++ b/utils/general.py @@ -456,7 +456,7 @@ def check_font(font=FONT, progress=False): font = Path(font) file = CONFIG_DIR / font.name if not font.exists() and not file.exists(): - url = "https://ultralytics.com/assets/" + font.name + url = f'https://ultralytics.com/assets/{font.name}' LOGGER.info(f'Downloading {url} to {file}...') torch.hub.download_url_to_file(url, str(file), progress=progress)