from functools import partial import streamlit as st from webapp.new_task import render_new_task from webapp.task_list import render_task_list def render_home(container, app_config: dict, authenticator): """ Render the home page :param container: container object to place the content in :param app_config: app configuration :return: None """ with container.container(): st.title('Annescribe Home') st.write("Welcome to AnneScribe!") authenticator.logout(callback=st.session_state.clear) # render task list task_list_container = st.empty() render_task_list(task_list_container, app_config) # render new task new_task_container = st.empty() render_new_task(new_task_container, app_config)