relocate app file to root level
Browse files
dash/numerdash_app.py β numerdash_app.py
RENAMED
|
@@ -817,7 +817,7 @@ def performance_overview():
|
|
| 817 |
|
| 818 |
def show_content():
|
| 819 |
st.sidebar.header('Dashboard Selection')
|
| 820 |
-
select_app = st.sidebar.selectbox("", list(app_opt.keys()), index=
|
| 821 |
if select_app=='performance_overview':
|
| 822 |
performance_overview()
|
| 823 |
if select_app=='stake_overview':
|
|
@@ -966,12 +966,7 @@ if check_session_state('models') is None:
|
|
| 966 |
with st.spinner('updating model list'):
|
| 967 |
st.session_state['models'] = numerapi_utils.get_lb_models()
|
| 968 |
|
| 969 |
-
|
| 970 |
-
#
|
| 971 |
-
|
| 972 |
-
# trying out multi columns
|
| 973 |
-
# col1, col2 = st.columns(2)
|
| 974 |
-
# col1.header('col1')
|
| 975 |
-
# col2.header('col2')
|
| 976 |
|
| 977 |
show_content()
|
|
|
|
| 817 |
|
| 818 |
def show_content():
|
| 819 |
st.sidebar.header('Dashboard Selection')
|
| 820 |
+
select_app = st.sidebar.selectbox("", list(app_opt.keys()), index=1, format_func=lambda x: app_opt[x])
|
| 821 |
if select_app=='performance_overview':
|
| 822 |
performance_overview()
|
| 823 |
if select_app=='stake_overview':
|
|
|
|
| 966 |
with st.spinner('updating model list'):
|
| 967 |
st.session_state['models'] = numerapi_utils.get_lb_models()
|
| 968 |
|
| 969 |
+
# debug purpose only
|
| 970 |
+
# show_session_status_info()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 971 |
|
| 972 |
show_content()
|