From 43886ea64b082dad4b9cc83e30fee0e9c8f30f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=20Vinh=20LUONG=20=28L=C6=AF=C6=A0NG=20Th=E1=BA=BF=20Vi?= =?UTF-8?q?nh=29?= Date: Sun, 6 Oct 2024 23:14:46 -0700 Subject: [PATCH] update examples/semiconductor-etching-yieldguard Streamlit app --- examples/semiconductor-etching-yieldguard/dana.py | 2 +- examples/semiconductor-etching-yieldguard/streamlit-main.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/semiconductor-etching-yieldguard/dana.py b/examples/semiconductor-etching-yieldguard/dana.py index f6331b83e..c4cc8f81c 100644 --- a/examples/semiconductor-etching-yieldguard/dana.py +++ b/examples/semiconductor-etching-yieldguard/dana.py @@ -54,7 +54,7 @@ def get_or_create_dana(use_semikong_lm: bool = True, max_depth=2, max_subtasks_p return DANA(knowledge={EXPERT_KNOWLEDGE}, program_store=program_store, programmer=HTPlanner(lm=lm, max_depth=max_depth, max_subtasks_per_decomp=max_subtasks_per_decomp), - resources={FileResource(path=DATA_DIR_PATH, re_index=True, lm=lm)}) + resources={FileResource(path=DATA_DIR_PATH, re_index=True)}) if __name__ == '__main__': diff --git a/examples/semiconductor-etching-yieldguard/streamlit-main.py b/examples/semiconductor-etching-yieldguard/streamlit-main.py index 766c5691c..0b0ba7f32 100644 --- a/examples/semiconductor-etching-yieldguard/streamlit-main.py +++ b/examples/semiconductor-etching-yieldguard/streamlit-main.py @@ -7,7 +7,7 @@ from dana import get_or_create_dana -TITLE: str = 'Semiconductor Etching YieldGuard with DANA' +TITLE: str = 'Proactive _YieldGuard_ for Plasma Etchers' st.set_page_config(page_title=TITLE, page_icon=None, @@ -15,13 +15,11 @@ initial_sidebar_state='auto', menu_items=None) +st.title(body=TITLE, anchor=None, help=None) st.image('YieldGuard.png') -st.title(body=TITLE, anchor=None, help=None) - - st.write('__PROBLEM__:') if 'typed_problem' not in st.session_state: