fix: only able to set page config once

This commit is contained in:
sean1832 2023-02-21 21:33:23 +11:00
parent 46538c7969
commit 837e7ca562

View File

@ -13,9 +13,9 @@ PROMPT_PATH = f'{INFO.USER_DIR}/prompt/{SESSION_LANG}/'
_ = language.set_language()
st.set_page_config(
page_title='Configs'
)
# st.set_page_config(
# page_title='Configs'
# )
body = st.container()
@ -120,6 +120,8 @@ def main():
else:
modified_data = util.read_files(note_dir, single_string=True, delimiter=delimiter,
force=force_delimiter)
# append mode
if append_mode:
memory_data += modified_data
else: