Skip to content

Commit

Permalink
update Streamlit usage per latest API
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Nov 27, 2024
1 parent ede91e9 commit aff96e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/FinanceBench/streamlit-main.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def task_statement(task_id: TaskId, doc_name: DocName) -> str:
if not st.session_state.task_id:
st.session_state.typed_question: str = st.text_area(label='Question',
value=st.session_state.typed_question,
height=3,
height=68,
max_chars=None,
key=None,
help='Type a Question',
Expand Down
2 changes: 1 addition & 1 deletion examples/semiconductor/streamlit-main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

st.session_state.typed_problem: str = st.text_area(label='Problem/Question',
value=st.session_state.typed_problem,
height=3,
height=68,
max_chars=None,
key=None,
help='Problem/Question',
Expand Down
2 changes: 1 addition & 1 deletion openssa/contrib/streamlit_ssa_prob_solver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def run(self):

self.problem: str = st.text_area(label='Problem to Solve',
value=self.problem,
height=3,
height=68,
max_chars=None,
key=None,
help='State the Problem to Solve',
Expand Down

0 comments on commit aff96e9

Please sign in to comment.