phyloforfun commited on
Commit
987ae26
β€’
1 Parent(s): 1e58dd0
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -1501,11 +1501,11 @@ def content_header():
1501
  ct_left, ct_right = st.columns([1,1])
1502
  with ct_left:
1503
  st.button("Refresh", on_click=refresh, use_container_width=True)
1504
- with ct_right:
1505
- try:
1506
- st.page_link(os.path.join("pages","faqs.py"), label="FAQs", icon="❔")
1507
- except:
1508
- st.page_link(os.path.join(os.path.dirname(__file__),"pages","faqs.py"), label="FAQs", icon="❔")
1509
 
1510
 
1511
 
@@ -1706,12 +1706,12 @@ def content_prompt_and_llm_version():
1706
  selected_version = default_version
1707
  st.session_state.config['leafmachine']['project']['prompt_version'] = st.selectbox("Prompt Version", available_prompts, index=available_prompts.index(selected_version),label_visibility='collapsed')
1708
 
1709
- with col_prompt_2:
1710
- # if st.button("Build Custom LLM Prompt"):
1711
- try:
1712
- st.page_link(os.path.join("pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1713
- except:
1714
- st.page_link(os.path.join(os.path.dirname(__file__),"pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1715
 
1716
 
1717
  st.header('LLM Version')
 
1501
  ct_left, ct_right = st.columns([1,1])
1502
  with ct_left:
1503
  st.button("Refresh", on_click=refresh, use_container_width=True)
1504
+ # with ct_right:
1505
+ # try:
1506
+ # st.page_link(os.path.join("pages","faqs.py"), label="FAQs", icon="❔")
1507
+ # except:
1508
+ # st.page_link(os.path.join(os.path.dirname(__file__),"pages","faqs.py"), label="FAQs", icon="❔")
1509
 
1510
 
1511
 
 
1706
  selected_version = default_version
1707
  st.session_state.config['leafmachine']['project']['prompt_version'] = st.selectbox("Prompt Version", available_prompts, index=available_prompts.index(selected_version),label_visibility='collapsed')
1708
 
1709
+ # with col_prompt_2:
1710
+ # # if st.button("Build Custom LLM Prompt"):
1711
+ # try:
1712
+ # st.page_link(os.path.join("pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1713
+ # except:
1714
+ # st.page_link(os.path.join(os.path.dirname(__file__),"pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1715
 
1716
 
1717
  st.header('LLM Version')