Skip to content

Commit

Permalink
update experimental SSA code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Dec 2, 2023
1 parent 61c8ce0 commit 5bc471d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions openssa/contrib/streamlit_ssa_prob_solver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,10 @@ def append_expert_heuristics(addl_expert_heuristics: str, /):
if self.ssa:
st.write(f"__SSA's SPECIALIZED EXPERTISE__: {self.ssa_intro}")

st.button(label=f'__SOLVE__: _{self.prob}_',
key=None,
on_click=self.ssa_solve, args=None, kwargs=None,
type='primary',
disabled=False,
use_container_width=False)
if st.button(label=f'__SOLVE__: _{self.prob}_',
key=None,
on_click=None, args=None, kwargs=None,
type='primary',
disabled=False,
use_container_width=False):
self.ssa_solve()
3 changes: 2 additions & 1 deletion openssa/contrib/streamlit_ssa_prob_solver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@

StreamlitSSAProbSolver(unique_name='PROBLEM-SOLVING SSA',
domain='Atomic Layer Deposition (ALD) for Semiconductor',
prob='I want to estimate the ALD process time for: ...',
prob=('I want to estimate the ALD process time for 10 cycles, '
'each with Deposition Time = 15 secs, Purge Time = 10 secs and negligible Inert'),
doc_src_path='s3://aitomatic-public/KnowledgeBase/Semiconductor')

0 comments on commit 5bc471d

Please sign in to comment.