Closed DucoBouter closed 2 years ago
You could try the solution recommended to me by the author in this: https://github.com/TangleSpace/hydralit/issues/23
/opt/conda/lib/python3.8/site-packages/hydralit/loading_app.py
you can change this line!
I finally found it.
version 1.0.13 added the use_loader=False
parameter so you can just by-pass the loader app entirely. if you want to create a completely custom app transition experience, just create a custom loader as per the details in the example repo.
I'm making a streamlit app based on the hydralit-example: https://github.com/TangleSpace/hydralit-example
My app loads some data at first from database. While this is happening a rather large loading screen is present.
How can I tame this loader and select a more compact one?
The structure of the code I use for the app-page: import hydralit as hy import pandas as pd import streamlit as st
create a wrapper class
class generate_app_page(hy.HydraHeadApp): def run(self): col1, col2 = hy.columns([2,4]) msr = col1.selectbox('some nice label', get_ids_from_db())