Skip to content

Commit 8e9ff18

Browse files
committed
Add loading functionality for experiment directory choices in demo
1 parent ca1c42c commit 8e9ff18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/agentlab/analyze/agent_xray.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ def run_gradio(results_dir: Path):
499499
# keep track of active tab
500500
tabs.select(tab_select)
501501

502+
demo.load(fn=refresh_exp_dir_choices, inputs=exp_dir_choice, outputs=exp_dir_choice)
503+
502504
demo.queue()
503505

504506
do_share = os.getenv("AGENTXRAY_SHARE_GRADIO", "false").lower() == "true"

0 commit comments

Comments
 (0)