cakiki commited on
Commit
8dd9cfe
·
1 Parent(s): d59082b

Update promptsource/session.py

Browse files
Files changed (1) hide show
  1. promptsource/session.py +2 -1
promptsource/session.py CHANGED
@@ -5,7 +5,8 @@
5
  # This code is taken from
6
  # https://gist.github.com/okld/0aba4869ba6fdc8d49132e6974e2e662
7
  #
8
- from streamlit.hashing import _CodeHasher
 
9
  from streamlit.report_thread import get_report_ctx
10
  from streamlit.server.server import Server
11
 
 
5
  # This code is taken from
6
  # https://gist.github.com/okld/0aba4869ba6fdc8d49132e6974e2e662
7
  #
8
+ # from streamlit.hashing import _CodeHasher
9
+ from streamlit.legacy_caching.hashing import _CodeHasher
10
  from streamlit.report_thread import get_report_ctx
11
  from streamlit.server.server import Server
12