Spaces:
Running
Running
Update promptsource/session.py
Browse files- 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 |
|