Chris4K commited on
Commit
0608f06
·
verified ·
1 Parent(s): 58bb7f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -123,10 +123,10 @@ url_endpoint = st.selectbox("Select Inference URL", [
123
  "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
124
  "https://api-inference.huggingface.co/models/gpt2"
125
  ])
126
-
127
- tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tool_loader.tools]
128
-
129
 
 
 
 
130
 
131
  if "messages" not in st.session_state:
132
  st.session_state.messages = []
 
123
  "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
124
  "https://api-inference.huggingface.co/models/gpt2"
125
  ])
 
 
 
126
 
127
+ # Add an expandable element for tools
128
+ with st.expander("Expand to select tools"):
129
+ tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tool_loader.tools]
130
 
131
  if "messages" not in st.session_state:
132
  st.session_state.messages = []