Skip to content

Commit

Permalink
remove deprecated legacy caching (#1233)
Browse files Browse the repository at this point in the history
* remove deprecated legacy caching

* fmt
  • Loading branch information
sfc-gh-jreini authored Jun 21, 2024
1 parent 7a25a5d commit 62896cc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions trulens_eval/trulens_eval/Leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@
import streamlit as st
from streamlit_extras.switch_page_button import switch_page

from trulens_eval import Tru
from trulens_eval.database import base as mod_db
from trulens_eval.database.legacy.migration import MIGRATION_UNKNOWN_STR
from trulens_eval.utils.streamlit import init_from_args
from trulens_eval.ux.page_config import set_page_config
from trulens_eval.ux.styles import CATEGORY

st.runtime.legacy_caching.clear_cache()

from trulens_eval import Tru
from trulens_eval.ux import styles
from trulens_eval.ux.components import draw_metadata
from trulens_eval.ux.page_config import set_page_config
from trulens_eval.ux.styles import CATEGORY

if __name__ == "__main__":
# If not imported, gets args from command line and creates Tru singleton
Expand Down

0 comments on commit 62896cc

Please sign in to comment.