Skip to content

Commit

Permalink
Merge pull request #46 from rskmoi/fix_demo_for_new_streamlit_version
Browse files Browse the repository at this point in the history
Fix demo for new steramlit version
  • Loading branch information
rskmoi authored Aug 26, 2024
2 parents ac3b18d + 3eda172 commit 5fb901d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/demo/example_streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Path("~/.cache").expanduser().mkdir(exist_ok=True)


@st.experimental_singleton
@st.cache_resource
def get_basic_name_divider():
basic_divider = BasicNameDivider()
return basic_divider


@st.experimental_singleton
@st.cache_resource
def get_gbdt_name_divider():
gbdt_divider = GBDTNameDivider()
return gbdt_divider
Expand Down

0 comments on commit 5fb901d

Please sign in to comment.