Skip to content

Commit 49941e0

Browse files
authored
fix: download single artifact
1 parent 15b60d1 commit 49941e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aignostics/application/_gui/_page_application_run_describe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Run describe page, including download, QuPath and Marimo control."""
22

3+
import webbrowser
34
from importlib.util import find_spec
45
from multiprocessing import Manager
56
from pathlib import Path
@@ -755,7 +756,7 @@ async def handle_metadata_change(e: Any) -> None: # noqa: ANN401
755756
ui.button(
756757
text="Download",
757758
icon="cloud_download",
758-
on_click=lambda _, url=url: ui.navigate.to(url, new_tab=True),
759+
on_click=lambda _, url=url: webbrowser.open(url),
759760
)
760761
if metadata:
761762
ui.button(

0 commit comments

Comments
 (0)