apolinario commited on
Commit
dbfe679
1 Parent(s): dd9ce71

Attemp on old Streamlit

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. streamlit_nested_expanders.py +2 -1
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- title: Mindseye
3
  emoji: 💻
4
  colorFrom: pink
5
  colorTo: yellow
6
  sdk: streamlit
7
- sdk_version: 1.7.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
1
  ---
2
+ title: MindsEye
3
  emoji: 💻
4
  colorFrom: pink
5
  colorTo: yellow
6
  sdk: streamlit
7
+ sdk_version: 1.2.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
streamlit_nested_expanders.py CHANGED
@@ -6,7 +6,8 @@ from streamlit import legacy_caching
6
  from streamlit import type_util
7
  from streamlit import util
8
  from streamlit.cursor import Cursor
9
- from streamlit.script_run_context import get_script_run_ctx
 
10
  from streamlit.errors import StreamlitAPIException
11
  from streamlit.errors import NoSessionContext
12
  from streamlit.proto import Block_pb2
 
6
  from streamlit import type_util
7
  from streamlit import util
8
  from streamlit.cursor import Cursor
9
+ from streamlit.report_thread import get_report_ctx as get_script_run_ctx
10
+ #from streamlit.script_run_context import get_script_run_ctx
11
  from streamlit.errors import StreamlitAPIException
12
  from streamlit.errors import NoSessionContext
13
  from streamlit.proto import Block_pb2