INNER CODE UNIT · Python
create
neuml/tldrstory · src/python/tldrstory/app.py:308
def create(index):
"""
Creates and caches an application instance.
Args:
index: configuration file path
Returns:
Application
"""
return App(index)
# Set page title and icon
if len(sys.argv) > 3:
st.beta_set_page_config(sys.argv[2], sys.argv[3], "centered", initial_sidebar_state="expanded")
# Create the application