Update app.py
Browse files
app.py
CHANGED
@@ -116,11 +116,12 @@ tool_loader = ToolLoader(tool_names)
|
|
116 |
|
117 |
st.title("Hugging Face Agent and tools")
|
118 |
|
|
|
119 |
# Add a dropdown for selecting the inference URL
|
120 |
url_endpoint = st.selectbox("Select Inference URL", [
|
121 |
"https://api-inference.huggingface.co/models/bigcode/starcoder",
|
122 |
-
"https://api-inference.huggingface.co/models/
|
123 |
-
"https://api-inference.huggingface.co/models/
|
124 |
])
|
125 |
|
126 |
tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tool_loader.tools]
|
|
|
116 |
|
117 |
st.title("Hugging Face Agent and tools")
|
118 |
|
119 |
+
## LB https://huggingface.co/spaces/qiantong-xu/toolbench-leaderboard
|
120 |
# Add a dropdown for selecting the inference URL
|
121 |
url_endpoint = st.selectbox("Select Inference URL", [
|
122 |
"https://api-inference.huggingface.co/models/bigcode/starcoder",
|
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]
|