diff --git a/gooey_ui/components/__init__.py b/gooey_ui/components/__init__.py index 5cd8d9721..15a5d496c 100644 --- a/gooey_ui/components/__init__.py +++ b/gooey_ui/components/__init__.py @@ -443,6 +443,7 @@ def download_button( disabled: bool = False, **props, ) -> bool: + url = url[:-8] return button( component="download-button", url=url,