Skip to content

armgit / storm

Public Imported from GitHub
0

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Fixed line-too-long

evidencebp13ef9ed3c712
diff --git a/frontend/demo_light/storm.py b/frontend/demo_light/storm.py
index c68b88c..1d095c3 100644
--- a/frontend/demo_light/storm.py
+++ b/frontend/demo_light/storm.py
@@ -35,13 +35,15 @@ def main():
menu_container = st.container()
with menu_container:
pages = ["My Articles", "Create New Article"]
+ styles={
+ "container": {"padding": "0.2rem 0",
+ "background-color": "#22222200"},
+ }
menu_selection = option_menu(None, pages,
icons=['house', 'search'],
menu_icon="cast", default_index=0, orientation="horizontal",
manual_select=st.session_state.selected_page,
- styles={
- "container": {"padding": "0.2rem 0", "background-color": "#22222200"},
- },
+ styles=styles,
key='menu_selection')
if st.session_state.get("manual_selection_override", False):
menu_selection = pages[st.session_state["selected_page"]]